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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 32.8 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 59.91 kB / 440.5 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005552/0.3446, allocations: 5.119 MB / 0.4991 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.3478, allocations: 1.73 MB / 0.5008 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.3483, allocations: 23.12 kB / 0.5008 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3494, allocations: 0.5246 MB / 0.5014 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.3507, allocations: 0.6929 MB / 0.502 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.3509, allocations: 15.41 kB / 0.502 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3521, allocations: 1.42 MB / 0.5034 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006615/0.3528, allocations: 0.7147 MB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.3532, allocations: 498.3 kB / 0.5046 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.354, allocations: 0.7289 MB / 0.5053 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3541, allocations: 88.59 kB / 0.5054 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.3546, allocations: 228.7 kB / 0.5056 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.355, allocations: 0.6743 MB / 0.5063 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.3554, allocations: 0.5708 MB / 0.5068 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.3572, allocations: 2.654 MB / 0.5094 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3572, allocations: 3.938 kB / 0.5094 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3572, allocations: 0 / 0.5094 GB, free: 23.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.3573, allocations: 0 / 0.5094 GB, free: 23.4 MB / 446.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.003338/0.3606, allocations: 1.933 MB / 0.5113 GB, free: 22.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.3607, allocations: 9.562 kB / 0.5113 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/0.3663, allocations: 1.495 MB / 0.5128 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.3684, allocations: 0.8018 MB / 0.5136 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.3685, allocations: 79.02 kB / 0.5136 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.3687, allocations: 103.4 kB / 0.5137 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007829/0.3766, allocations: 4.627 MB / 0.5183 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.199e-05/0.3766, allocations: 19.5 kB / 0.5183 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.3769, allocations: 51.86 kB / 0.5183 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002731/0.3796, allocations: 1.103 MB / 0.5194 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.39, allocations: 3.999 MB / 0.5233 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.416, allocations: 17.38 MB / 0.5403 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.4178, allocations: 0.6883 MB / 0.541 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/0.4185, allocations: 312.4 kB / 0.5413 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.4185, allocations: 5 kB / 0.5413 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4185, allocations: 43.09 kB / 0.5413 GB, free: 3.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 4.068e-06/0.4185, allocations: 0 / 0.5413 GB, free: 3.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.002309/0.4209, allocations: 1.018 MB / 0.5423 GB, free: 2.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4209, allocations: 108.4 kB / 0.5424 GB, free: 2.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005168/0.4261, allocations: 2.083 MB / 0.5444 GB, free: 1.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.4261, allocations: 31.92 kB / 0.5445 GB, free: 1.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.4277, allocations: 1.719 MB / 0.5462 GB, free: 496 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004064/0.4281, allocations: 270.2 kB / 0.5464 GB, free: 308 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.4297, allocations: 0.6798 MB / 0.5471 GB, free: 15.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.4299, allocations: 333.3 kB / 0.5474 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.4322, allocations: 0.8955 MB / 0.5483 GB, free: 15.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005065/0.4373, allocations: 3.166 MB / 0.5514 GB, free: 11.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007724/0.445, allocations: 4.44 MB / 0.5557 GB, free: 6.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/0.4452, allocations: 27.94 kB / 0.5557 GB, free: 6.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.008564/0.4538, allocations: 3.837 MB / 0.5595 GB, free: 2.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.4539, allocations: 46.8 kB / 0.5595 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/0.4541, allocations: 83.98 kB / 0.5596 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.4542, allocations: 108 kB / 0.5597 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.4566, allocations: 0.7524 MB / 0.5604 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/0.4568, allocations: 155.4 kB / 0.5606 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.4594, allocations: 484.5 kB / 0.561 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004303/0.4598, allocations: 216 kB / 0.5612 GB, free: 0.7734 MB / 462.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.001858/0.4617, allocations: 1.102 MB / 0.5623 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.462, allocations: 151 kB / 0.5625 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4624, allocations: 182.1 kB / 0.5626 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.4624, allocations: 8 kB / 0.5626 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4624, allocations: 0 / 0.5626 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4624, allocations: 3.984 kB / 0.5627 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.466, allocations: 1.598 MB / 0.5642 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.466, allocations: 0 / 0.5642 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.4663, allocations: 59.97 kB / 0.5643 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4663, allocations: 3.938 kB / 0.5643 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.4664, allocations: 12 kB / 0.5643 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.4664, allocations: 4 kB / 0.5643 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4664, allocations: 4 kB / 0.5643 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4676, allocations: 1.023 MB / 0.5653 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.4679, allocations: 134.8 kB / 0.5654 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.4681, allocations: 11.98 kB / 0.5654 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.4686, allocations: 23.97 kB / 0.5655 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.4687, allocations: 27.84 kB / 0.5655 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.4687, allocations: 27.97 kB / 0.5655 GB, free: 12.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001787/0.4705, allocations: 1.174 MB / 0.5667 GB, free: 11.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4705, allocations: 4 kB / 0.5667 GB, free: 11.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002591/0.4731, allocations: 0.5144 MB / 0.5672 GB, free: 10.66 MB / 478.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.0003098/0.4734, allocations: 127 kB / 0.5673 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.4767, allocations: 1.961 MB / 0.5692 GB, free: 8.586 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4767, allocations: 4 kB / 0.5692 GB, free: 8.582 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.4772, allocations: 308.2 kB / 0.5695 GB, free: 8.281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.4781, allocations: 146.1 kB / 0.5696 GB, free: 8.137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.4849, allocations: 3.719 MB / 0.5733 GB, free: 4.367 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.487, allocations: 1.213 MB / 0.5744 GB, free: 3.117 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002481/0.4895, allocations: 1.084 MB / 0.5755 GB, free: 2.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.4898, allocations: 108.5 kB / 0.5756 GB, free: 1.918 MB / 478.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4898, allocations: 0 / 0.5756 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Templates: time 0.02689/0.5167, allocations: 11.38 MB / 0.5867 GB, free: 6.754 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.539354464970529]