Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001855/0.001855, allocations: 108.5 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.00279/0.00279, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.514/1.514, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2446/0.2446, allocations: 44.9 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 179]
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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.89 kB / 497.7 MB, free: 1.004 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4368, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01385/0.4506, allocations: 8.741 MB / 0.5574 GB, free: 6.305 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01007/0.4607, allocations: 3.497 MB / 0.5608 GB, free: 3.16 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.4636, allocations: 55.75 kB / 0.5608 GB, free: 3.105 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003152/0.4668, allocations: 1.398 MB / 0.5622 GB, free: 1.703 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003314/0.4701, allocations: 0.9456 MB / 0.5631 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.4714, allocations: 0.5147 MB / 0.5636 GB, free: 244 kB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002691/0.4741, allocations: 1.687 MB / 0.5653 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.4757, allocations: 1.17 MB / 0.5664 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.4767, allocations: 0.6815 MB / 0.5671 GB, free: 12.66 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.478, allocations: 0.9424 MB / 0.568 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.4782, allocations: 140 kB / 0.5681 GB, free: 11.58 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.4794, allocations: 0.6163 MB / 0.5687 GB, free: 10.96 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.4802, allocations: 0.7441 MB / 0.5695 GB, free: 10.21 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008286/0.481, allocations: 0.8354 MB / 0.5703 GB, free: 9.375 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003209/0.4842, allocations: 2.506 MB / 0.5727 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4842, allocations: 0 / 0.5727 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.783e-06/0.4842, allocations: 0 / 0.5727 GB, free: 6.863 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 2.286e-05/0.4843, allocations: 0 / 0.5727 GB, free: 6.863 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.003992/0.4883, allocations: 1.982 MB / 0.5747 GB, free: 4.84 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.4883, allocations: 12.92 kB / 0.5747 GB, free: 4.828 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.4895, allocations: 271.6 kB / 0.5749 GB, free: 4.562 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.4916, allocations: 1.031 MB / 0.5759 GB, free: 3.504 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.4917, allocations: 98.58 kB / 0.576 GB, free: 3.406 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.4919, allocations: 116 kB / 0.5761 GB, free: 3.293 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005814/0.4978, allocations: 2.988 MB / 0.5791 GB, free: 112 kB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.4978, allocations: 15.89 kB / 0.5791 GB, free: 96 kB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.4979, allocations: 55.97 kB / 0.5791 GB, free: 40 kB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006796/0.4986, allocations: 434 kB / 0.5795 GB, free: 15.61 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.5035, allocations: 2.171 MB / 0.5817 GB, free: 13.43 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.5179, allocations: 10.64 MB / 0.592 GB, free: 2.52 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00403/0.5219, allocations: 1.191 MB / 0.5932 GB, free: 1.309 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.5226, allocations: 371 kB / 0.5936 GB, free: 0.9375 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003987/0.5265, allocations: 2.097 MB / 0.5956 GB, free: 14.82 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.5266, allocations: 42.98 kB / 0.5956 GB, free: 14.77 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=51): time 2.645e-06/0.5266, allocations: 0 / 0.5956 GB, free: 14.77 MB / 446.1 MB
Notification: Performance of matching and sorting (n=57): time 0.01268/0.5393, allocations: 3.543 MB / 0.5991 GB, free: 11.17 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.5394, allocations: 85.61 kB / 0.5992 GB, free: 11.07 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.5412, allocations: 1.19 MB / 0.6004 GB, free: 9.863 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.5413, allocations: 37.7 kB / 0.6004 GB, free: 9.82 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0008963/0.5422, allocations: 0.9702 MB / 0.6013 GB, free: 8.84 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.5424, allocations: 230.1 kB / 0.6016 GB, free: 8.613 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005115/0.543, allocations: 319.3 kB / 0.6019 GB, free: 8.293 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002151/0.5432, allocations: 305.1 kB / 0.6022 GB, free: 7.992 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.5439, allocations: 419.7 kB / 0.6026 GB, free: 7.582 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.5456, allocations: 1.258 MB / 0.6038 GB, free: 5.914 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.5484, allocations: 1.806 MB / 0.6055 GB, free: 3.695 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.5484, allocations: 12 kB / 0.6056 GB, free: 3.684 MB / 446.1 MB
Notification: Performance of matching and sorting (n=198) (initialization): time 0.003343/0.5518, allocations: 1.731 MB / 0.6072 GB, free: 1.941 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.5518, allocations: 20 kB / 0.6073 GB, free: 1.922 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/0.5519, allocations: 28 kB / 0.6073 GB, free: 1.895 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.5521, allocations: 85.45 kB / 0.6074 GB, free: 1.809 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.5532, allocations: 363.3 kB / 0.6077 GB, free: 1.453 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.5554, allocations: 1.773 MB / 0.6095 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5565, allocations: 71.94 kB / 0.6095 GB, free: 15.49 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.5566, allocations: 91.98 kB / 0.6096 GB, free: 15.4 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.001247/0.5579, allocations: 0.6483 MB / 0.6102 GB, free: 14.74 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.5581, allocations: 123.3 kB / 0.6104 GB, free: 14.62 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.5595, allocations: 0.7092 MB / 0.6111 GB, free: 13.9 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.5595, allocations: 8 kB / 0.6111 GB, free: 13.89 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5595, allocations: 0 / 0.6111 GB, free: 13.89 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.5595, allocations: 3.984 kB / 0.6111 GB, free: 13.89 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/0.5637, allocations: 2.188 MB / 0.6132 GB, free: 11.6 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.5637, allocations: 4 kB / 0.6132 GB, free: 11.6 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.5641, allocations: 96.33 kB / 0.6133 GB, free: 11.5 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.5643, allocations: 64.83 kB / 0.6134 GB, free: 11.44 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.5643, allocations: 23.92 kB / 0.6134 GB, free: 11.41 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.5662, allocations: 1.832 MB / 0.6152 GB, free: 9.469 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.5662, allocations: 7.938 kB / 0.6152 GB, free: 9.461 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.568, allocations: 1.103 MB / 0.6163 GB, free: 8.293 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.5683, allocations: 107.2 kB / 0.6164 GB, free: 8.188 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5684, allocations: 24 kB / 0.6164 GB, free: 8.164 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.5688, allocations: 23.92 kB / 0.6164 GB, free: 8.141 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.5689, allocations: 51.8 kB / 0.6164 GB, free: 8.09 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.5689, allocations: 20 kB / 0.6165 GB, free: 8.07 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.001142/0.5701, allocations: 0.7597 MB / 0.6172 GB, free: 7.305 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5701, allocations: 4 kB / 0.6172 GB, free: 7.301 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.001524/0.5716, allocations: 303.9 kB / 0.6175 GB, free: 7.004 MB / 462.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.0002694/0.5718, allocations: 127.2 kB / 0.6176 GB, free: 6.867 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.001956/0.5738, allocations: 1.061 MB / 0.6187 GB, free: 5.801 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5738, allocations: 0 / 0.6187 GB, free: 5.801 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.5746, allocations: 399.9 kB / 0.619 GB, free: 5.398 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.5757, allocations: 188.9 kB / 0.6192 GB, free: 5.211 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.5819, allocations: 2.876 MB / 0.622 GB, free: 2.25 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.5834, allocations: 1.451 MB / 0.6234 GB, free: 0.7656 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0009858/0.5844, allocations: 417.7 kB / 0.6238 GB, free: 364 kB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.5846, allocations: 71.44 kB / 0.6239 GB, free: 296 kB / 462.1 MB
Notification: Performance of SimCode: time 1.503e-06/0.5846, allocations: 4 kB / 0.6239 GB, free: 292 kB / 462.1 MB
Notification: Performance of Templates: time 0.02745/0.612, allocations: 11.86 MB / 0.6355 GB, free: 4.496 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.014808391220868]