Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009215/0.0009215, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.6 MB / 244.7 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007241/0.0007239, allocations: 98.23 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002198/0.0002198, allocations: 11.98 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 51.28 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00154/0.2046, allocations: 1.766 MB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005998/0.2053, allocations: 0.5384 MB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.2054, allocations: 5.062 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2055, allocations: 27.78 kB / 410.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.2055, allocations: 37.41 kB / 410.4 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.2057, allocations: 39.89 kB / 410.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2058, allocations: 199 kB / 410.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.206, allocations: 62.94 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.206, allocations: 63.05 kB / 410.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.967e-05/0.2061, allocations: 71.64 kB / 410.8 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2062, allocations: 8 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.2062, allocations: 8 kB / 410.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.2062, allocations: 27.91 kB / 410.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.2063, allocations: 109.3 kB / 411 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2064, allocations: 152.5 kB / 411.1 MB, free: 24.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2064, allocations: 0 / 411.1 MB, free: 24.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2064, allocations: 2.25 kB / 411.1 MB, free: 24.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2064, allocations: 0 / 411.1 MB, free: 24.6 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004535/0.2069, allocations: 446.1 kB / 411.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2069, allocations: 8.031 kB / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.207, allocations: 24.66 kB / 411.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2071, allocations: 216.1 kB / 411.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2071, allocations: 8.375 kB / 411.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.2072, allocations: 24.28 kB / 411.8 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2074, allocations: 161.7 kB / 412 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2075, allocations: 3.984 kB / 412 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2075, allocations: 4 kB / 412 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2075, allocations: 4 kB / 412 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.2077, allocations: 107.9 kB / 412.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.2084, allocations: 0.5924 MB / 412.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2086, allocations: 125.4 kB / 412.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.2087, allocations: 44.83 kB / 412.9 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2087, allocations: 4 kB / 412.9 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.2087, allocations: 34.56 kB / 412.9 MB, free: 22.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.2087, allocations: 0 / 412.9 MB, free: 22.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001181/0.2099, allocations: 0.799 MB / 413.7 MB, free: 21.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.2099, allocations: 55.41 kB / 413.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.21, allocations: 166.2 kB / 413.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.21, allocations: 33.64 kB / 414 MB, free: 21.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.2101, allocations: 132.3 kB / 414.1 MB, free: 21.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.2101, allocations: 63.02 kB / 414.2 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.2101, allocations: 0 / 414.2 MB, free: 21.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.2102, allocations: 330.8 kB / 414.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.2103, allocations: 47.86 kB / 414.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.2104, allocations: 86.59 kB / 414.6 MB, free: 20.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2106, allocations: 134.2 kB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2106, allocations: 8 kB / 414.8 MB, free: 20.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003027/0.2109, allocations: 198.2 kB / 414.9 MB, free: 20.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2109, allocations: 10.75 kB / 415 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2109, allocations: 4 kB / 415 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.2111, allocations: 36.89 kB / 415 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2112, allocations: 39.98 kB / 415 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008404/0.2121, allocations: 1.421 MB / 416.5 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.2122, allocations: 8.031 kB / 416.5 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2122, allocations: 8 kB / 416.5 MB, free: 18.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.2123, allocations: 149.4 kB / 416.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.2123, allocations: 15.81 kB / 416.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.2123, allocations: 17.22 kB / 416.6 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2123, allocations: 4 kB / 416.7 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2124, allocations: 64 / 416.7 MB, free: 18.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2124, allocations: 4 kB / 416.7 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.213, allocations: 0.5878 MB / 417.2 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.213, allocations: 12.12 kB / 417.3 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.2131, allocations: 31.92 kB / 417.3 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.352e-05/0.2132, allocations: 28.84 kB / 417.3 MB, free: 17.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2132, allocations: 8 kB / 417.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006564/0.2139, allocations: 1.366 MB / 418.7 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2139, allocations: 0 / 418.7 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.2143, allocations: 350.4 kB / 419 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.2143, allocations: 88.95 kB / 419.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2144, allocations: 3.938 kB / 419.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.2145, allocations: 8 kB / 419.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2145, allocations: 15.97 kB / 419.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.2145, allocations: 4.141 kB / 419.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.669e-05/0.2146, allocations: 120.1 kB / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2146, allocations: 0 / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.2149, allocations: 44.06 kB / 419.3 MB, free: 15.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.564e-05/0.215, allocations: 108 kB / 419.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.2153, allocations: 254.5 kB / 419.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2154, allocations: 4.125 kB / 419.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.2156, allocations: 189 kB / 419.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2159, allocations: 20 kB / 419.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.2166, allocations: 0.6373 MB / 420.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2167, allocations: 0.7245 MB / 421.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.2167, allocations: 19.44 kB / 421.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2167, allocations: 0 / 421.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Templates: time 0.003618/0.2204, allocations: 2.846 MB / 424.1 MB, free: 10.83 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches