Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.9 MB / 361.3 MB, free: 4.551 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic")
translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 76.16 kB / 0.4971 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3817, allocations: 66.03 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01412/0.3958, allocations: 12.33 MB / 0.5736 GB, free: 8.234 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008829/0.4047, allocations: 3.902 MB / 0.5774 GB, free: 4.32 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.4066, allocations: 67.75 kB / 0.5775 GB, free: 4.254 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002855/0.4094, allocations: 1.35 MB / 0.5788 GB, free: 2.898 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004078/0.4135, allocations: 1.771 MB / 0.5805 GB, free: 1.121 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.4145, allocations: 427.2 kB / 0.5809 GB, free: 0.7031 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005023/0.4195, allocations: 3.605 MB / 0.5844 GB, free: 13.09 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.4217, allocations: 1.603 MB / 0.586 GB, free: 11.46 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.4238, allocations: 1.214 MB / 0.5872 GB, free: 10.24 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.4273, allocations: 1.923 MB / 0.5891 GB, free: 8.309 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006294/0.4279, allocations: 236 kB / 0.5893 GB, free: 8.078 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.4299, allocations: 0.8463 MB / 0.5901 GB, free: 7.23 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00186/0.4317, allocations: 1.604 MB / 0.5917 GB, free: 5.621 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002446/0.4342, allocations: 1.867 MB / 0.5935 GB, free: 3.742 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007544/0.4417, allocations: 6.094 MB / 0.5995 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4417, allocations: 4 kB / 0.5995 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.444e-06/0.4417, allocations: 0 / 0.5995 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0001699/0.4419, allocations: 0 / 0.5995 GB, free: 13.62 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: 1514
 * Number of variables: 1514
Notification: Performance of Generate backend data structure: time 0.008743/0.4507, allocations: 4.057 MB / 0.6034 GB, free: 9.508 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.4507, allocations: 12.03 kB / 0.6034 GB, free: 9.496 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.4622, allocations: 3.098 MB / 0.6065 GB, free: 6.391 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.4674, allocations: 1.849 MB / 0.6083 GB, free: 4.504 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.4676, allocations: 185 kB / 0.6084 GB, free: 4.32 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006441/0.4682, allocations: 251.8 kB / 0.6087 GB, free: 4.074 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.4867, allocations: 10.17 MB / 0.6186 GB, free: 9.465 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.708e-05/0.4868, allocations: 35.69 kB / 0.6187 GB, free: 9.43 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.4872, allocations: 115.8 kB / 0.6188 GB, free: 9.316 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004382/0.4916, allocations: 2.463 MB / 0.6212 GB, free: 6.852 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.5105, allocations: 9.349 MB / 0.6303 GB, free: 13.49 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05161/0.5621, allocations: 31.41 MB / 0.661 GB, free: 13.25 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006183/0.5683, allocations: 2.338 MB / 0.6633 GB, free: 10.92 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.5701, allocations: 0.9958 MB / 0.6642 GB, free: 9.922 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0009024/0.571, allocations: 436.5 kB / 0.6646 GB, free: 9.492 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.571, allocations: 55.88 kB / 0.6647 GB, free: 9.43 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=185): time 4.569e-06/0.571, allocations: 0 / 0.6647 GB, free: 9.43 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=191): time 0.02143/0.5925, allocations: 8.943 MB / 0.6734 GB, free: 464 kB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.5925, allocations: 64.72 kB / 0.6735 GB, free: 388 kB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.5972, allocations: 2.611 MB / 0.676 GB, free: 13.75 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.5974, allocations: 45.7 kB / 0.6761 GB, free: 13.7 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002479/0.5999, allocations: 2.78 MB / 0.6788 GB, free: 10.89 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007583/0.6006, allocations: 0.7363 MB / 0.6795 GB, free: 10.14 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.6019, allocations: 0.9732 MB / 0.6805 GB, free: 9.16 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.000151/0.6021, allocations: 309.1 kB / 0.6808 GB, free: 8.855 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.6045, allocations: 1.544 MB / 0.6823 GB, free: 7.305 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004925/0.6094, allocations: 4.391 MB / 0.6866 GB, free: 1.504 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008234/0.6177, allocations: 6.563 MB / 0.693 GB, free: 9.539 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/0.6177, allocations: 28 kB / 0.693 GB, free: 9.512 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=648) (initialization): time 0.009456/0.6272, allocations: 5.867 MB / 0.6987 GB, free: 3.641 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.6272, allocations: 51.28 kB / 0.6988 GB, free: 3.594 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.6274, allocations: 100 kB / 0.6989 GB, free: 3.496 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.6277, allocations: 180.9 kB / 0.699 GB, free: 3.316 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/0.6307, allocations: 1.072 MB / 0.7001 GB, free: 2.242 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.6325, allocations: 1.701 MB / 0.7017 GB, free: 432 kB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.6347, allocations: 203.9 kB / 0.7019 GB, free: 228 kB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/0.6351, allocations: 296 kB / 0.7022 GB, free: 15.93 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 453
 * Number of states: 0 ()
 * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (596):
 * Single equations (assignments): 589
 * 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.003043/0.6382, allocations: 1.989 MB / 0.7042 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.6385, allocations: 262.3 kB / 0.7044 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.6426, allocations: 2.522 MB / 0.7069 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/0.6426, allocations: 23.94 kB / 0.7069 GB, free: 11.1 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6426, allocations: 4 kB / 0.7069 GB, free: 11.1 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.6426, allocations: 11.97 kB / 0.7069 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.6551, allocations: 7.914 MB / 0.7146 GB, free: 2.984 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.6551, allocations: 12 kB / 0.7147 GB, free: 2.973 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/0.6561, allocations: 247.6 kB / 0.7149 GB, free: 2.73 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.6562, allocations: 60.77 kB / 0.715 GB, free: 2.668 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/0.6563, allocations: 47.97 kB / 0.715 GB, free: 2.621 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.6579, allocations: 1.518 MB / 0.7165 GB, free: 0.9844 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.6579, allocations: 15.94 kB / 0.7165 GB, free: 0.9688 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.6636, allocations: 4.024 MB / 0.7204 GB, free: 12.8 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.6642, allocations: 238.2 kB / 0.7207 GB, free: 12.57 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.6644, allocations: 36.06 kB / 0.7207 GB, free: 12.53 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007348/0.6651, allocations: 59.94 kB / 0.7207 GB, free: 12.47 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.6654, allocations: 136.4 kB / 0.7209 GB, free: 12.34 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.6655, allocations: 59.98 kB / 0.7209 GB, free: 12.28 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0024/0.6679, allocations: 1.595 MB / 0.7225 GB, free: 10.68 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/0.6679, allocations: 0 / 0.7225 GB, free: 10.68 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.003462/0.6714, allocations: 0.7812 MB / 0.7233 GB, free: 9.895 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 42
 * 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 (139):
 * Single equations (assignments): 132
 * 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.0004155/0.6718, allocations: 174.8 kB / 0.7234 GB, free: 9.711 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006055/0.6778, allocations: 3.724 MB / 0.7271 GB, free: 5.988 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6779, allocations: 4 kB / 0.7271 GB, free: 5.984 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001687/0.6795, allocations: 1.178 MB / 0.7282 GB, free: 4.801 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6813, allocations: 341.4 kB / 0.7285 GB, free: 4.465 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2841/0.9654, allocations: 8.649 MB / 0.737 GB, free: 153.6 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.9682, allocations: 3.129 MB / 0.74 GB, free: 152.8 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.002919/0.9711, allocations: 1.71 MB / 0.7417 GB, free: 152.8 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.9715, allocations: 182.3 kB / 0.7419 GB, free: 152.8 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.213e-06/0.9715, allocations: 2.062 kB / 0.7419 GB, free: 152.8 MB / 0.5606 GB
Notification: Performance of Templates: time 0.04261/1.014, allocations: 24.39 MB / 0.7657 GB, free: 133.4 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.624429286457598]