Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001299/0.001299, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001562/0.001562, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.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.2371/0.2371, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic")
translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4654, allocations: 64.3 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01648/0.4819, allocations: 12.39 MB / 0.5609 GB, free: 3 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01045/0.4923, allocations: 3.902 MB / 0.5647 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.4956, allocations: 67.75 kB / 0.5648 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003409/0.4991, allocations: 1.331 MB / 0.5661 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005322/0.5044, allocations: 1.814 MB / 0.5679 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.5058, allocations: 423.2 kB / 0.5683 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006043/0.5119, allocations: 3.579 MB / 0.5718 GB, free: 7.867 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.515, allocations: 1.622 MB / 0.5733 GB, free: 6.211 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.5177, allocations: 1.214 MB / 0.5745 GB, free: 4.992 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.5211, allocations: 1.927 MB / 0.5764 GB, free: 3.059 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008332/0.5219, allocations: 240 kB / 0.5766 GB, free: 2.824 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.5242, allocations: 0.8697 MB / 0.5775 GB, free: 1.953 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001901/0.5261, allocations: 1.628 MB / 0.5791 GB, free: 328 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002721/0.5288, allocations: 1.89 MB / 0.5809 GB, free: 14.42 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009033/0.5378, allocations: 6.168 MB / 0.587 GB, free: 8.227 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5378, allocations: 0 / 0.587 GB, free: 8.227 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.864e-06/0.5378, allocations: 0 / 0.587 GB, free: 8.227 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0002005/0.538, allocations: 0 / 0.587 GB, free: 8.227 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: 1514
 * Number of variables: 1514
Notification: Performance of Generate backend data structure: time 0.01026/0.5483, allocations: 4.1 MB / 0.591 GB, free: 4.07 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.5484, allocations: 12.92 kB / 0.591 GB, free: 4.059 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.5601, allocations: 3.098 MB / 0.594 GB, free: 0.9531 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.5655, allocations: 1.884 MB / 0.5958 GB, free: 15.03 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.5657, allocations: 185 kB / 0.596 GB, free: 14.85 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.5669, allocations: 255.7 kB / 0.5963 GB, free: 14.6 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.585, allocations: 10.18 MB / 0.6062 GB, free: 3.984 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/0.5851, allocations: 19.81 kB / 0.6062 GB, free: 3.965 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.5855, allocations: 115.8 kB / 0.6063 GB, free: 3.852 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004314/0.5898, allocations: 2.471 MB / 0.6087 GB, free: 1.375 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.6101, allocations: 9.353 MB / 0.6179 GB, free: 8.008 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/0.6642, allocations: 31.39 MB / 0.6485 GB, free: 7.785 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006188/0.6704, allocations: 2.36 MB / 0.6508 GB, free: 5.426 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.6721, allocations: 0.9899 MB / 0.6518 GB, free: 4.438 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/0.6729, allocations: 440.6 kB / 0.6522 GB, free: 4.004 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.673, allocations: 51.86 kB / 0.6523 GB, free: 3.945 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=185): time 3.887e-06/0.673, allocations: 0 / 0.6523 GB, free: 3.945 MB / 494.1 MB
Notification: Performance of matching and sorting (n=191): time 0.02252/0.6955, allocations: 8.947 MB / 0.661 GB, free: 10.96 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.6956, allocations: 72.66 kB / 0.6611 GB, free: 10.88 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/0.7004, allocations: 2.604 MB / 0.6636 GB, free: 8.254 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.7006, allocations: 49.7 kB / 0.6637 GB, free: 8.199 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.703, allocations: 2.787 MB / 0.6664 GB, free: 5.383 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001/0.704, allocations: 0.7324 MB / 0.6671 GB, free: 4.645 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/0.7059, allocations: 0.9732 MB / 0.6681 GB, free: 3.66 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001512/0.706, allocations: 309.1 kB / 0.6683 GB, free: 3.355 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.7088, allocations: 1.551 MB / 0.6699 GB, free: 1.797 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005628/0.7145, allocations: 4.383 MB / 0.6741 GB, free: 12 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008924/0.7234, allocations: 6.559 MB / 0.6805 GB, free: 4.051 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.793e-05/0.7235, allocations: 31.94 kB / 0.6806 GB, free: 4.02 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=648) (initialization): time 0.01063/0.7341, allocations: 5.868 MB / 0.6863 GB, free: 14.14 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.7342, allocations: 48 kB / 0.6864 GB, free: 14.1 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.7344, allocations: 104.1 kB / 0.6865 GB, free: 14 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.7347, allocations: 172.8 kB / 0.6866 GB, free: 13.82 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/0.738, allocations: 1.076 MB / 0.6877 GB, free: 12.75 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.7398, allocations: 1.693 MB / 0.6893 GB, free: 10.93 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.7424, allocations: 211.9 kB / 0.6895 GB, free: 10.73 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004908/0.7429, allocations: 292 kB / 0.6898 GB, free: 10.44 MB / 0.5294 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.003093/0.746, allocations: 1.998 MB / 0.6918 GB, free: 8.43 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.7464, allocations: 258.3 kB / 0.692 GB, free: 8.176 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.7506, allocations: 2.53 MB / 0.6945 GB, free: 5.621 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/0.7506, allocations: 24 kB / 0.6945 GB, free: 5.598 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7506, allocations: 4 kB / 0.6945 GB, free: 5.594 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7506, allocations: 3.984 kB / 0.6945 GB, free: 5.59 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.7642, allocations: 7.922 MB / 0.7022 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.7642, allocations: 8 kB / 0.7022 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7653, allocations: 251.5 kB / 0.7025 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.7654, allocations: 56.83 kB / 0.7025 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.7655, allocations: 39.98 kB / 0.7026 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.7671, allocations: 1.53 MB / 0.7041 GB, free: 11.48 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.7671, allocations: 12.12 kB / 0.7041 GB, free: 11.46 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/0.7727, allocations: 4.036 MB / 0.708 GB, free: 7.281 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.7734, allocations: 242.3 kB / 0.7083 GB, free: 7.043 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/0.7738, allocations: 35.98 kB / 0.7083 GB, free: 7.008 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/0.7748, allocations: 59.95 kB / 0.7083 GB, free: 6.949 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.775, allocations: 124.5 kB / 0.7085 GB, free: 6.828 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.7752, allocations: 71.97 kB / 0.7085 GB, free: 6.758 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.002884/0.7781, allocations: 1.6 MB / 0.7101 GB, free: 5.148 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.7781, allocations: 0 / 0.7101 GB, free: 5.148 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.003818/0.7819, allocations: 0.8006 MB / 0.7109 GB, free: 4.348 MB / 0.545 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.0005345/0.7824, allocations: 174.8 kB / 0.711 GB, free: 4.164 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.007262/0.7897, allocations: 3.724 MB / 0.7147 GB, free: 468 kB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.7897, allocations: 0 / 0.7147 GB, free: 468 kB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0022/0.7919, allocations: 1.179 MB / 0.7158 GB, free: 15.27 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.7943, allocations: 339.2 kB / 0.7162 GB, free: 14.94 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.8096, allocations: 8.661 MB / 0.7246 GB, free: 6.113 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004297/0.8139, allocations: 3.13 MB / 0.7277 GB, free: 2.957 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003904/0.8178, allocations: 1.71 MB / 0.7293 GB, free: 1.242 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.8184, allocations: 183.4 kB / 0.7295 GB, free: 1.062 MB / 0.5606 GB
Notification: Performance of SimCode: time 9.32e-07/0.8184, allocations: 4 kB / 0.7295 GB, free: 1.059 MB / 0.5606 GB
Notification: Performance of Templates: time 0.2996/1.118, allocations: 24.51 MB / 0.7535 GB, free: 151.1 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.1877895556390285]