Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001848/0.001848, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001525/0.001525, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 59.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01072/0.4109, allocations: 7.643 MB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009192/0.4201, allocations: 3.273 MB / 0.5725 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.4216, allocations: 55.75 kB / 0.5725 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.4244, allocations: 1.332 MB / 0.5738 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.4272, allocations: 0.9379 MB / 0.5748 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.4284, allocations: 0.5186 MB / 0.5753 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.4308, allocations: 1.722 MB / 0.5769 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.4323, allocations: 1.259 MB / 0.5782 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008775/0.4332, allocations: 0.6737 MB / 0.5788 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.4344, allocations: 0.9425 MB / 0.5798 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.4346, allocations: 136 kB / 0.5799 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.4357, allocations: 0.5734 MB / 0.5804 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007187/0.4364, allocations: 0.748 MB / 0.5812 GB, free: 276 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.4371, allocations: 0.6451 MB / 0.5818 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.4401, allocations: 2.498 MB / 0.5842 GB, free: 13.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4401, allocations: 4 kB / 0.5842 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4401, allocations: 0 / 0.5842 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.4401, allocations: 0 / 0.5842 GB, free: 13.11 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003675/0.4438, allocations: 1.971 MB / 0.5862 GB, free: 11.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4438, allocations: 8.031 kB / 0.5862 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.4449, allocations: 275.6 kB / 0.5864 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.4472, allocations: 1.003 MB / 0.5874 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.4473, allocations: 94.58 kB / 0.5875 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.4475, allocations: 127.9 kB / 0.5876 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/0.4531, allocations: 3.05 MB / 0.5906 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.4531, allocations: 15.81 kB / 0.5906 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4533, allocations: 59.97 kB / 0.5907 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006314/0.4539, allocations: 434 kB / 0.5911 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/0.4586, allocations: 2.171 MB / 0.5932 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.4721, allocations: 9.89 MB / 0.6029 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.4761, allocations: 1.194 MB / 0.604 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.4767, allocations: 371.1 kB / 0.6044 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004047/0.4807, allocations: 2.013 MB / 0.6064 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.4808, allocations: 35 kB / 0.6064 GB, free: 5.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.807e-06/0.4808, allocations: 0 / 0.6064 GB, free: 5.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01219/0.493, allocations: 3.578 MB / 0.6099 GB, free: 2.188 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.4931, allocations: 89.61 kB / 0.61 GB, free: 2.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4947, allocations: 1.145 MB / 0.6111 GB, free: 0.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.4948, allocations: 37.7 kB / 0.6111 GB, free: 0.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/0.4955, allocations: 0.978 MB / 0.6121 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.4957, allocations: 230.1 kB / 0.6123 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/0.4961, allocations: 319.3 kB / 0.6126 GB, free: 15.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.4964, allocations: 361.9 kB / 0.613 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.4971, allocations: 415.7 kB / 0.6134 GB, free: 14.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4987, allocations: 1.283 MB / 0.6146 GB, free: 12.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.5013, allocations: 1.814 MB / 0.6164 GB, free: 10.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5013, allocations: 8 kB / 0.6164 GB, free: 10.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003046/0.5044, allocations: 1.73 MB / 0.6181 GB, free: 8.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.5044, allocations: 20.94 kB / 0.6181 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.5044, allocations: 28 kB / 0.6181 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.5047, allocations: 96.75 kB / 0.6182 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5058, allocations: 355.4 kB / 0.6186 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.5077, allocations: 1.75 MB / 0.6203 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/0.5087, allocations: 63.98 kB / 0.6203 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.5088, allocations: 88 kB / 0.6204 GB, free: 6.395 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.5099, allocations: 0.6401 MB / 0.621 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.5101, allocations: 119.2 kB / 0.6211 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.5103, allocations: 126.6 kB / 0.6213 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5103, allocations: 3.984 kB / 0.6213 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5103, allocations: 0 / 0.6213 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.5105, allocations: 91.28 kB / 0.6214 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5106, allocations: 12 kB / 0.6214 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.5109, allocations: 31.97 kB / 0.6214 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.511, allocations: 32.44 kB / 0.6214 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001466/0.5125, allocations: 0.7244 MB / 0.6221 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001586/0.5141, allocations: 1.118 MB / 0.6232 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004052/0.5145, allocations: 239.8 kB / 0.6235 GB, free: 3.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009876/0.5154, allocations: 0.6986 MB / 0.6241 GB, free: 2.523 MB / 462.1 MB Notification: Performance of Backend: time 3.6e-07/0.5154, allocations: 0 / 0.6241 GB, free: 2.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.518, allocations: 1.072 MB / 0.6252 GB, free: 1.441 MB / 462.1 MB Notification: Performance of SimCode: time 0.005419/0.5234, allocations: 3.258 MB / 0.6284 GB, free: 14.12 MB / 478.1 MB Notification: Performance of Templates: time 0.02993/0.5533, allocations: 14.87 MB / 0.6429 GB, free: 15.41 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.830802742995729]