Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.002581/0.002581, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.002938/0.002938, allocations: 216 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.24 MB / 330.3 MB, free: 9.629 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00254/0.00254, allocations: 72.41 kB / 468 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1296, allocations: 61.04 MB / 0.5166 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01762/0.1472, allocations: 12.74 MB / 0.5291 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1578, allocations: 3.938 MB / 0.5329 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.1605, allocations: 71.75 kB / 0.533 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.1642, allocations: 1.346 MB / 0.5343 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.1699, allocations: 1.841 MB / 0.5361 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1713, allocations: 427.2 kB / 0.5365 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2701/0.4414, allocations: 3.651 MB / 0.5401 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.445, allocations: 1.88 MB / 0.5419 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.4479, allocations: 1.263 MB / 0.5431 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.4519, allocations: 1.957 MB / 0.5451 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.4532, allocations: 244.1 kB / 0.5453 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.4562, allocations: 0.8495 MB / 0.5461 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002944/0.4591, allocations: 1.662 MB / 0.5477 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003663/0.4628, allocations: 1.94 MB / 0.5496 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.4743, allocations: 6.283 MB / 0.5558 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4743, allocations: 0.5938 kB / 0.5558 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4743, allocations: 0.8438 kB / 0.5558 GB, free: 7.859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003035/0.4746, allocations: 0 / 0.5558 GB, free: 7.859 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01154/0.4862, allocations: 4.195 MB / 0.5599 GB, free: 5.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4862, allocations: 10.34 kB / 0.5599 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.4978, allocations: 3.105 MB / 0.5629 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.5039, allocations: 1.936 MB / 0.5648 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.5041, allocations: 196.6 kB / 0.565 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.5055, allocations: 262.2 kB / 0.5652 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.5245, allocations: 10.39 MB / 0.5754 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.5246, allocations: 23.25 kB / 0.5754 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004363/0.5251, allocations: 118.9 kB / 0.5755 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004773/0.5298, allocations: 2.561 MB / 0.578 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/0.5533, allocations: 9.452 MB / 0.5873 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05768/0.611, allocations: 32.2 MB / 0.6187 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006/0.617, allocations: 2.376 MB / 0.621 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.6186, allocations: 0.9956 MB / 0.622 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009233/0.6196, allocations: 442.9 kB / 0.6224 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.6196, allocations: 55.88 kB / 0.6225 GB, free: 2.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 4.158e-06/0.6196, allocations: 0 / 0.6225 GB, free: 2.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02277/0.6424, allocations: 9.655 MB / 0.6319 GB, free: 8.844 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.6425, allocations: 95.88 kB / 0.632 GB, free: 8.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.6468, allocations: 2.679 MB / 0.6346 GB, free: 6.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.6469, allocations: 45.7 kB / 0.6347 GB, free: 5.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.6491, allocations: 2.85 MB / 0.6374 GB, free: 3.145 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007896/0.6499, allocations: 0.7424 MB / 0.6382 GB, free: 2.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.6514, allocations: 0.9933 MB / 0.6391 GB, free: 1.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6516, allocations: 305.1 kB / 0.6394 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.6542, allocations: 1.567 MB / 0.641 GB, free: 15.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005166/0.6594, allocations: 4.476 MB / 0.6453 GB, free: 9.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008717/0.6681, allocations: 6.698 MB / 0.6519 GB, free: 1.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-05/0.6682, allocations: 31.94 kB / 0.6519 GB, free: 1.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01141/0.6796, allocations: 5.964 MB / 0.6577 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.6796, allocations: 49.41 kB / 0.6578 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.6798, allocations: 107.9 kB / 0.6579 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.6801, allocations: 177.5 kB / 0.658 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/0.6837, allocations: 1.099 MB / 0.6591 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.6856, allocations: 1.7 MB / 0.6608 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.6886, allocations: 215.9 kB / 0.661 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005068/0.6891, allocations: 302.6 kB / 0.6613 GB, free: 8.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * Array equations: 6 * 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.003929/0.693, allocations: 2.024 MB / 0.6632 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/0.6935, allocations: 262.2 kB / 0.6635 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.6979, allocations: 2.548 MB / 0.666 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/0.6979, allocations: 20 kB / 0.666 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6979, allocations: 0 / 0.666 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/0.698, allocations: 11.97 kB / 0.666 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.7135, allocations: 8.12 MB / 0.6739 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.7135, allocations: 11.98 kB / 0.674 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7146, allocations: 251.6 kB / 0.6742 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.7147, allocations: 52.83 kB / 0.6742 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.7149, allocations: 44.88 kB / 0.6743 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.7165, allocations: 1.533 MB / 0.6758 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.7165, allocations: 15.94 kB / 0.6758 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/0.7225, allocations: 4.062 MB / 0.6798 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.724, allocations: 450 kB / 0.6802 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/0.7244, allocations: 42.64 kB / 0.6802 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.7252, allocations: 55.95 kB / 0.6803 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.7254, allocations: 132.5 kB / 0.6804 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.7256, allocations: 66.64 kB / 0.6805 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002754/0.7283, allocations: 1.632 MB / 0.6821 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7283, allocations: 0 / 0.6821 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003999/0.7323, allocations: 0.8163 MB / 0.6829 GB, free: 1.445 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004561/0.7328, allocations: 188 kB / 0.683 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006373/0.7392, allocations: 3.77 MB / 0.6867 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.7392, allocations: 2 kB / 0.6867 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.741, allocations: 1.169 MB / 0.6879 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.7429, allocations: 344.2 kB / 0.6882 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.7617, allocations: 8.87 MB / 0.6969 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/0.7659, allocations: 3.195 MB / 0.7 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003902/0.7698, allocations: 1.734 MB / 0.7017 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.7703, allocations: 191.4 kB / 0.7019 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.7703, allocations: 0 / 0.7019 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Templates: time 0.05812/0.8284, allocations: 24.73 MB / 0.726 GB, free: 5.207 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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: 7.044130850117654]