Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009365, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 172.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 44.25 MB / 337.7 MB, free: 2.465 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 61.93 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008711/0.1325, allocations: 8.721 MB / 481 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.1377, allocations: 2.333 MB / 483.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.1391, allocations: 31.88 kB / 483.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008051/0.1399, allocations: 219 kB / 483.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.1422, allocations: 0.654 MB / 484.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1424, allocations: 19.97 kB / 484.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.1452, allocations: 2.059 MB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.147, allocations: 0.9267 MB / 487.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1481, allocations: 414.1 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.1495, allocations: 0.7121 MB / 488.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.1499, allocations: 52 kB / 488.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008709/0.1507, allocations: 291.4 kB / 488.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008514/0.1516, allocations: 0.6621 MB / 489.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.1528, allocations: 0.8319 MB / 490.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.1556, allocations: 2.464 MB / 492.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1556, allocations: 4 kB / 492.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1557, allocations: 3.938 kB / 492.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.45e-05/0.1558, allocations: 0 / 492.6 MB, free: 8.863 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003839/0.1596, allocations: 1.639 MB / 494.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.1597, allocations: 8.031 kB / 494.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/0.1654, allocations: 1.523 MB / 495.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.1674, allocations: 0.8474 MB / 496.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.1675, allocations: 78.3 kB / 496.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.1679, allocations: 99.84 kB / 496.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007479/0.1754, allocations: 4.633 MB / 0.4897 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.1755, allocations: 23.8 kB / 0.4897 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.1757, allocations: 55.92 kB / 0.4898 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/0.1777, allocations: 1.107 MB / 0.4909 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/0.1849, allocations: 4.004 MB / 0.4948 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.258/0.443, allocations: 18.48 MB / 0.5128 GB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.4443, allocations: 1.177 MB / 0.514 GB, free: 32.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.4449, allocations: 341.1 kB / 0.5143 GB, free: 32.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4449, allocations: 8.062 kB / 0.5143 GB, free: 32.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4449, allocations: 41.52 kB / 0.5143 GB, free: 32.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.258e-06/0.4449, allocations: 1.031 kB / 0.5143 GB, free: 32.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002049/0.447, allocations: 1.03 MB / 0.5153 GB, free: 32.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.4471, allocations: 107.3 kB / 0.5154 GB, free: 32.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.4503, allocations: 2.211 MB / 0.5176 GB, free: 32.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.4504, allocations: 32.97 kB / 0.5176 GB, free: 31.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/0.4513, allocations: 1.628 MB / 0.5192 GB, free: 30.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.4515, allocations: 259.5 kB / 0.5195 GB, free: 30.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/0.452, allocations: 292.1 kB / 0.5198 GB, free: 30.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4521, allocations: 357 kB / 0.5201 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.4535, allocations: 0.8929 MB / 0.521 GB, free: 29.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.4565, allocations: 3.171 MB / 0.5241 GB, free: 26.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.4618, allocations: 4.45 MB / 0.5284 GB, free: 22.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-05/0.4619, allocations: 23.41 kB / 0.5284 GB, free: 22.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006646/0.4685, allocations: 3.84 MB / 0.5322 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.4686, allocations: 43.25 kB / 0.5322 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.425e-05/0.4687, allocations: 82.81 kB / 0.5323 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.428e-05/0.4688, allocations: 106 kB / 0.5324 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.4706, allocations: 0.7482 MB / 0.5331 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/0.4708, allocations: 164.5 kB / 0.5333 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.4729, allocations: 495.9 kB / 0.5338 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.4731, allocations: 218.4 kB / 0.534 GB, free: 20.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.4743, allocations: 1.1 MB / 0.535 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.4745, allocations: 167.1 kB / 0.5352 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4748, allocations: 201.1 kB / 0.5354 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.4749, allocations: 11.89 kB / 0.5354 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4749, allocations: 7.375 kB / 0.5354 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4749, allocations: 0 / 0.5354 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.4776, allocations: 2.016 MB / 0.5374 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4776, allocations: 3.812 kB / 0.5374 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.4779, allocations: 59.64 kB / 0.5374 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4779, allocations: 3.75 kB / 0.5374 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4779, allocations: 7.75 kB / 0.5375 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4779, allocations: 3.125 kB / 0.5375 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4779, allocations: 3.875 kB / 0.5375 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.4787, allocations: 1.046 MB / 0.5385 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.4789, allocations: 236.9 kB / 0.5387 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4791, allocations: 7.812 kB / 0.5387 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.4796, allocations: 23.27 kB / 0.5387 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.4797, allocations: 25.69 kB / 0.5388 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.4797, allocations: 17.42 kB / 0.5388 GB, free: 18.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.4812, allocations: 1.383 MB / 0.5401 GB, free: 17.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4812, allocations: 0 / 0.5401 GB, free: 17.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002144/0.4834, allocations: 0.4961 MB / 0.5406 GB, free: 17.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002232/0.4836, allocations: 125.1 kB / 0.5407 GB, free: 17.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.486, allocations: 2.036 MB / 0.5427 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.486, allocations: 0 / 0.5427 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.4863, allocations: 336.3 kB / 0.543 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4874, allocations: 172.7 kB / 0.5432 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.4922, allocations: 4.593 MB / 0.5477 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.4934, allocations: 1.784 MB / 0.5494 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002125/0.4956, allocations: 1.117 MB / 0.5505 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4958, allocations: 119.4 kB / 0.5506 GB, free: 6.824 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4958, allocations: 6.516 kB / 0.5506 GB, free: 6.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02163/0.5174, allocations: 12.2 MB / 0.5626 GB, free: 10.71 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches