Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 177.4 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 94.3 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2045, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001969/0.2065, allocations: 1.755 MB / 376.3 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.2075, allocations: 0.5457 MB / 376.8 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.2077, allocations: 3.469 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.2079, allocations: 24.69 kB / 376.9 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.208, allocations: 44.72 kB / 376.9 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2082, allocations: 43.2 kB / 377 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.2084, allocations: 185.4 kB / 377.1 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2086, allocations: 61.17 kB / 377.2 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.2087, allocations: 61.5 kB / 377.3 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2088, allocations: 68.33 kB / 377.3 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.2089, allocations: 13.06 kB / 377.3 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.598e-05/0.2089, allocations: 8.656 kB / 377.3 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.2089, allocations: 29.17 kB / 377.4 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.209, allocations: 53.48 kB / 377.4 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2091, allocations: 161.7 kB / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2091, allocations: 0 / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2091, allocations: 0 / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2092, allocations: 1.188 kB / 377.6 MB, free: 43.09 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.0005499/0.2097, allocations: 455 kB / 378 MB, free: 42.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2098, allocations: 12.75 kB / 378 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.2098, allocations: 17.91 kB / 378.1 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.21, allocations: 218 kB / 378.3 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.21, allocations: 11.31 kB / 378.3 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.2101, allocations: 22.34 kB / 378.3 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.2104, allocations: 151.9 kB / 378.5 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2105, allocations: 9.656 kB / 378.5 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2105, allocations: 9.344 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2105, allocations: 3.562 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.2107, allocations: 105.2 kB / 378.6 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.2115, allocations: 0.5883 MB / 379.2 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.2118, allocations: 119.9 kB / 379.3 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.2119, allocations: 49.8 kB / 379.3 MB, free: 41.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2119, allocations: 2.219 kB / 379.3 MB, free: 41.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2119, allocations: 31.47 kB / 379.4 MB, free: 41.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2119, allocations: 0 / 379.4 MB, free: 41.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001407/0.2133, allocations: 0.8123 MB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2134, allocations: 56.77 kB / 380.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2135, allocations: 158.1 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2135, allocations: 33.69 kB / 380.4 MB, free: 40.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.2135, allocations: 125 kB / 380.5 MB, free: 40.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2136, allocations: 70.14 kB / 380.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.2136, allocations: 5.156 kB / 380.6 MB, free: 40.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.2137, allocations: 326.2 kB / 380.9 MB, free: 40.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2138, allocations: 45.08 kB / 381 MB, free: 40.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.2139, allocations: 79.34 kB / 381.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.214, allocations: 52.64 kB / 381.1 MB, free: 40.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.214, allocations: 0 / 381.1 MB, free: 40.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003833/0.2144, allocations: 212.3 kB / 381.3 MB, free: 39.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2144, allocations: 9.422 kB / 381.3 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2144, allocations: 4.953 kB / 381.3 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.2146, allocations: 39.28 kB / 381.4 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2148, allocations: 34.48 kB / 381.4 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/0.2156, allocations: 1.419 MB / 382.8 MB, free: 38.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.2157, allocations: 4.969 kB / 382.8 MB, free: 38.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2158, allocations: 16.2 kB / 382.8 MB, free: 38.46 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 9.319e-05/0.2159, allocations: 138.8 kB / 383 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.2159, allocations: 19.14 kB / 383 MB, free: 38.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.216, allocations: 19.38 kB / 383 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.216, allocations: 2.375 kB / 383 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.216, allocations: 1 kB / 383 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.216, allocations: 5.016 kB / 383 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.2166, allocations: 0.5966 MB / 383.6 MB, free: 37.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2167, allocations: 0 / 383.6 MB, free: 37.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.2168, allocations: 31.7 kB / 383.7 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2169, allocations: 40.98 kB / 383.7 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.217, allocations: 1.094 kB / 383.7 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006935/0.2176, allocations: 1.368 MB / 385.1 MB, free: 36.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2177, allocations: 4.062 kB / 385.1 MB, free: 36.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.2181, allocations: 343.6 kB / 385.4 MB, free: 36.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.2181, allocations: 88.02 kB / 385.5 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2182, allocations: 5.125 kB / 385.5 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2183, allocations: 7.656 kB / 385.5 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2183, allocations: 17.78 kB / 385.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.2183, allocations: 3.656 kB / 385.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.2184, allocations: 118.2 kB / 385.6 MB, free: 35.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2184, allocations: 0 / 385.6 MB, free: 35.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.2187, allocations: 46.47 kB / 385.7 MB, free: 35.86 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.89e-05/0.2188, allocations: 96.16 kB / 385.8 MB, free: 35.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.2192, allocations: 257.1 kB / 386 MB, free: 35.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2192, allocations: 0 / 386 MB, free: 35.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.2195, allocations: 196.2 kB / 386.2 MB, free: 35.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.2198, allocations: 29.14 kB / 386.2 MB, free: 35.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.2206, allocations: 0.6277 MB / 386.9 MB, free: 34.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2207, allocations: 0.7332 MB / 387.6 MB, free: 34.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.2208, allocations: 20.27 kB / 387.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2208, allocations: 3.938 kB / 387.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of Templates: time 0.003971/0.2248, allocations: 2.841 MB / 390.5 MB, free: 32.11 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches