Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 107.3 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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003189/0.003189, allocations: 188.5 kB / 22.98 MB, free: 5.016 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.79/1.79, allocations: 207.6 MB / 233.7 MB, free: 10 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.257/0.257, allocations: 44.24 MB / 330.2 MB, free: 9.555 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.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit")
translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.91 kB / 468 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1597, allocations: 61.04 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01194/0.1716, allocations: 8.761 MB / 0.5252 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009796/0.1814, allocations: 3.492 MB / 0.5286 GB, free: 10.55 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.1838, allocations: 51.75 kB / 0.5286 GB, free: 10.5 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003265/0.187, allocations: 1.398 MB / 0.53 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003624/0.1907, allocations: 0.9651 MB / 0.5309 GB, free: 8.129 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1921, allocations: 0.5108 MB / 0.5314 GB, free: 7.617 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003068/0.1952, allocations: 1.695 MB / 0.5331 GB, free: 5.918 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.197, allocations: 1.175 MB / 0.5342 GB, free: 4.703 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.1982, allocations: 0.6893 MB / 0.5349 GB, free: 4.012 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.1995, allocations: 0.9502 MB / 0.5358 GB, free: 3.059 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.1998, allocations: 144 kB / 0.536 GB, free: 2.918 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.201, allocations: 0.6124 MB / 0.5366 GB, free: 2.305 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000816/0.2019, allocations: 0.7557 MB / 0.5373 GB, free: 1.547 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009023/0.2028, allocations: 0.8315 MB / 0.5381 GB, free: 0.7109 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.3212/0.524, allocations: 2.508 MB / 0.5406 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.524, allocations: 3.188 kB / 0.5406 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.274e-06/0.524, allocations: 0.9062 kB / 0.5406 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.919e-05/0.5241, allocations: 0 / 0.5406 GB, free: 14.41 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: 449
 * Number of variables: 449
Notification: Performance of Generate backend data structure: time 0.004892/0.529, allocations: 1.974 MB / 0.5425 GB, free: 13.53 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.529, allocations: 8.25 kB / 0.5425 GB, free: 13.53 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.5303, allocations: 279 kB / 0.5428 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.5329, allocations: 1.079 MB / 0.5438 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.533, allocations: 93.12 kB / 0.5439 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.5332, allocations: 131.8 kB / 0.544 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.5393, allocations: 2.991 MB / 0.547 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.327e-05/0.5394, allocations: 13.75 kB / 0.547 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.5395, allocations: 55.89 kB / 0.547 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007845/0.5403, allocations: 438.7 kB / 0.5474 GB, free: 12.57 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005493/0.5458, allocations: 2.161 MB / 0.5495 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.5623, allocations: 10.65 MB / 0.5599 GB, free: 5.871 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.5667, allocations: 1.188 MB / 0.5611 GB, free: 5.562 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.5674, allocations: 370.2 kB / 0.5615 GB, free: 5.434 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.004808/0.5722, allocations: 2.086 MB / 0.5635 GB, free: 4.5 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.5723, allocations: 42.19 kB / 0.5635 GB, free: 4.453 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=51): time 2.945e-06/0.5723, allocations: 0 / 0.5635 GB, free: 4.453 MB / 414.1 MB
Notification: Performance of matching and sorting (n=57): time 0.01183/0.5841, allocations: 3.566 MB / 0.567 GB, free: 3.203 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5841, allocations: 83.61 kB / 0.5671 GB, free: 3.109 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.586, allocations: 1.205 MB / 0.5683 GB, free: 2.633 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.586, allocations: 36.95 kB / 0.5683 GB, free: 2.594 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.5866, allocations: 0.9703 MB / 0.5693 GB, free: 1.844 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.5867, allocations: 231.1 kB / 0.5695 GB, free: 1.676 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.5871, allocations: 317.2 kB / 0.5698 GB, free: 1.516 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 5.35e-05/0.5872, allocations: 306.1 kB / 0.5701 GB, free: 1.215 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.5878, allocations: 417.9 kB / 0.5705 GB, free: 1.09 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.589, allocations: 1.258 MB / 0.5717 GB, free: 15.82 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.5915, allocations: 1.805 MB / 0.5735 GB, free: 14.35 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.5915, allocations: 9.562 kB / 0.5735 GB, free: 14.35 MB / 430.1 MB
Notification: Performance of matching and sorting (n=198) (initialization): time 0.003195/0.5947, allocations: 1.735 MB / 0.5752 GB, free: 13.82 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.5947, allocations: 17.22 kB / 0.5752 GB, free: 13.82 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/0.5948, allocations: 29.75 kB / 0.5752 GB, free: 13.82 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.595, allocations: 89.31 kB / 0.5753 GB, free: 13.8 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.5961, allocations: 359.7 kB / 0.5756 GB, free: 13.79 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.5981, allocations: 1.77 MB / 0.5774 GB, free: 12.25 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.5994, allocations: 69.27 kB / 0.5774 GB, free: 12.22 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5995, allocations: 89.55 kB / 0.5775 GB, free: 12.21 MB / 430.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.001322/0.6008, allocations: 0.6467 MB / 0.5781 GB, free: 11.89 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.601, allocations: 124.4 kB / 0.5783 GB, free: 11.82 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.6024, allocations: 0.7066 MB / 0.579 GB, free: 11.49 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6024, allocations: 10.28 kB / 0.579 GB, free: 11.48 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6024, allocations: 3.906 kB / 0.579 GB, free: 11.48 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6024, allocations: 3.984 kB / 0.579 GB, free: 11.48 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.6066, allocations: 2.195 MB / 0.5811 GB, free: 10.12 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6066, allocations: 3.156 kB / 0.5811 GB, free: 10.12 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.607, allocations: 96.27 kB / 0.5812 GB, free: 10.11 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.6072, allocations: 68.34 kB / 0.5813 GB, free: 10.07 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.6073, allocations: 20.19 kB / 0.5813 GB, free: 10.06 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.6092, allocations: 1.839 MB / 0.5831 GB, free: 8.387 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6092, allocations: 6.594 kB / 0.5831 GB, free: 8.387 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.6109, allocations: 1.107 MB / 0.5842 GB, free: 7.656 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.6114, allocations: 145.3 kB / 0.5843 GB, free: 7.562 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6115, allocations: 22.8 kB / 0.5843 GB, free: 7.551 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.6119, allocations: 27.05 kB / 0.5844 GB, free: 7.535 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.6119, allocations: 51.27 kB / 0.5844 GB, free: 7.504 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.612, allocations: 15.12 kB / 0.5844 GB, free: 7.504 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.001286/0.6133, allocations: 0.769 MB / 0.5852 GB, free: 7.082 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.6133, allocations: 2.156 kB / 0.5852 GB, free: 7.082 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001649/0.6149, allocations: 306.9 kB / 0.5855 GB, free: 7.043 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 17
 * 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 (53):
 * Single equations (assignments): 52
 * 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,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/0.6152, allocations: 120.9 kB / 0.5856 GB, free: 6.945 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001804/0.617, allocations: 1.073 MB / 0.5866 GB, free: 6.473 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.617, allocations: 5.906 kB / 0.5866 GB, free: 6.473 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.6175, allocations: 383.5 kB / 0.587 GB, free: 6.25 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/0.6185, allocations: 187.1 kB / 0.5872 GB, free: 6.148 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.624, allocations: 2.9 MB / 0.59 GB, free: 4.426 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.6253, allocations: 1.459 MB / 0.5914 GB, free: 3.344 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001047/0.6264, allocations: 404.6 kB / 0.5918 GB, free: 3.004 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.6265, allocations: 91.31 kB / 0.5919 GB, free: 2.918 MB / 430.1 MB
Notification: Performance of SimCode: time 1.243e-06/0.6265, allocations: 0 / 0.5919 GB, free: 2.918 MB / 430.1 MB
Notification: Performance of Templates: time 0.02855/0.6551, allocations: 11.91 MB / 0.6035 GB, free: 7.105 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.393238769844174]