Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001357/0.001357, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001695/0.001695, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.54/1.54, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2395/0.2395, allocations: 46.93 MB / 361.4 MB, free: 4.387 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 79.88 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3794, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01078/0.3901, allocations: 8.714 MB / 0.5702 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007479/0.3976, allocations: 3.51 MB / 0.5736 GB, free: 8.227 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.3992, allocations: 55.75 kB / 0.5736 GB, free: 8.172 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002972/0.4022, allocations: 1.394 MB / 0.575 GB, free: 6.773 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002716/0.4049, allocations: 0.9261 MB / 0.5759 GB, free: 5.844 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.4061, allocations: 0.5225 MB / 0.5764 GB, free: 5.32 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002691/0.4088, allocations: 1.722 MB / 0.5781 GB, free: 3.594 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.4104, allocations: 1.163 MB / 0.5792 GB, free: 2.391 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.4114, allocations: 0.666 MB / 0.5799 GB, free: 1.723 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.4126, allocations: 0.9502 MB / 0.5808 GB, free: 0.7695 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.4129, allocations: 140 kB / 0.581 GB, free: 0.6328 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.414, allocations: 0.589 MB / 0.5815 GB, free: 44 kB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007845/0.4148, allocations: 0.7402 MB / 0.5823 GB, free: 15.3 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001045/0.4158, allocations: 0.8353 MB / 0.5831 GB, free: 14.46 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00329/0.4191, allocations: 2.47 MB / 0.5855 GB, free: 11.98 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4191, allocations: 0 / 0.5855 GB, free: 11.98 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.753e-06/0.4191, allocations: 0 / 0.5855 GB, free: 11.98 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 3.433e-05/0.4191, allocations: 3.938 kB / 0.5855 GB, free: 11.98 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: 449
 * Number of variables: 449
Notification: Performance of Generate backend data structure: time 0.004003/0.4231, allocations: 1.979 MB / 0.5874 GB, free: 9.961 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4232, allocations: 12.02 kB / 0.5874 GB, free: 9.949 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4243, allocations: 271.6 kB / 0.5877 GB, free: 9.684 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.4265, allocations: 1.003 MB / 0.5887 GB, free: 8.652 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.4266, allocations: 94.58 kB / 0.5888 GB, free: 8.559 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.4268, allocations: 123.9 kB / 0.5889 GB, free: 8.438 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.4327, allocations: 2.999 MB / 0.5918 GB, free: 5.246 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/0.4327, allocations: 7.938 kB / 0.5918 GB, free: 5.238 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.4328, allocations: 63.95 kB / 0.5919 GB, free: 5.176 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006792/0.4335, allocations: 438 kB / 0.5923 GB, free: 4.746 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005018/0.4385, allocations: 2.175 MB / 0.5944 GB, free: 2.562 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.4542, allocations: 10.65 MB / 0.6048 GB, free: 7.637 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003891/0.4581, allocations: 1.207 MB / 0.606 GB, free: 6.418 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.4587, allocations: 371.1 kB / 0.6063 GB, free: 6.047 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003729/0.4624, allocations: 2.101 MB / 0.6084 GB, free: 3.922 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.4625, allocations: 39 kB / 0.6084 GB, free: 3.875 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=51): time 2.285e-06/0.4625, allocations: 0 / 0.6084 GB, free: 3.875 MB / 446.1 MB
Notification: Performance of matching and sorting (n=57): time 0.01149/0.474, allocations: 3.59 MB / 0.6119 GB, free: 236 kB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.4741, allocations: 85.61 kB / 0.612 GB, free: 132 kB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.4758, allocations: 1.185 MB / 0.6132 GB, free: 14.93 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.4758, allocations: 33.7 kB / 0.6132 GB, free: 14.89 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.4766, allocations: 0.9663 MB / 0.6142 GB, free: 13.91 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.4768, allocations: 230.1 kB / 0.6144 GB, free: 13.68 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.4772, allocations: 323.3 kB / 0.6147 GB, free: 13.36 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001263/0.4773, allocations: 305.1 kB / 0.615 GB, free: 13.06 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/0.478, allocations: 419.7 kB / 0.6154 GB, free: 12.65 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4795, allocations: 1.258 MB / 0.6166 GB, free: 10.98 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.4819, allocations: 1.814 MB / 0.6184 GB, free: 8.754 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.4819, allocations: 12 kB / 0.6184 GB, free: 8.742 MB / 462.1 MB
Notification: Performance of matching and sorting (n=198) (initialization): time 0.003105/0.485, allocations: 1.738 MB / 0.6201 GB, free: 6.992 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.4851, allocations: 22.5 kB / 0.6201 GB, free: 6.973 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/0.4851, allocations: 28 kB / 0.6201 GB, free: 6.945 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.4853, allocations: 85.55 kB / 0.6202 GB, free: 6.859 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4864, allocations: 367.3 kB / 0.6206 GB, free: 6.5 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.4883, allocations: 1.769 MB / 0.6223 GB, free: 4.613 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.4893, allocations: 67.98 kB / 0.6224 GB, free: 4.547 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.4895, allocations: 87.98 kB / 0.6224 GB, free: 4.461 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.001038/0.4905, allocations: 0.6479 MB / 0.6231 GB, free: 3.805 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.4907, allocations: 123.2 kB / 0.6232 GB, free: 3.684 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.491, allocations: 131.3 kB / 0.6233 GB, free: 3.551 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.491, allocations: 8 kB / 0.6233 GB, free: 3.543 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.491, allocations: 0 / 0.6233 GB, free: 3.543 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.491, allocations: 3.984 kB / 0.6233 GB, free: 3.539 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.4947, allocations: 2.215 MB / 0.6255 GB, free: 1.227 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4947, allocations: 4 kB / 0.6255 GB, free: 1.223 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.4951, allocations: 95.83 kB / 0.6256 GB, free: 1.129 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.4953, allocations: 65.31 kB / 0.6256 GB, free: 1.062 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.4953, allocations: 16 kB / 0.6257 GB, free: 1.047 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.4972, allocations: 1.837 MB / 0.6275 GB, free: 15.1 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.4972, allocations: 12 kB / 0.6275 GB, free: 15.09 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.4989, allocations: 1.115 MB / 0.6286 GB, free: 13.91 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.4991, allocations: 107.2 kB / 0.6287 GB, free: 13.8 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4992, allocations: 16.06 kB / 0.6287 GB, free: 13.79 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.4996, allocations: 23.98 kB / 0.6287 GB, free: 13.76 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.4997, allocations: 51.8 kB / 0.6287 GB, free: 13.71 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.4997, allocations: 20 kB / 0.6288 GB, free: 13.69 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.001073/0.5008, allocations: 0.7554 MB / 0.6295 GB, free: 12.93 MB / 478.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5008, allocations: 3.938 kB / 0.6295 GB, free: 12.93 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.001703/0.5025, allocations: 303.9 kB / 0.6298 GB, free: 12.63 MB / 478.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.0003105/0.5028, allocations: 131.1 kB / 0.6299 GB, free: 12.49 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.002098/0.5049, allocations: 1.084 MB / 0.631 GB, free: 11.4 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5049, allocations: 4 kB / 0.631 GB, free: 11.39 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.5055, allocations: 379.9 kB / 0.6313 GB, free: 11.01 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.5064, allocations: 184.6 kB / 0.6315 GB, free: 10.83 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.5115, allocations: 2.89 MB / 0.6343 GB, free: 7.852 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.5129, allocations: 1.447 MB / 0.6358 GB, free: 6.375 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.001023/0.5139, allocations: 421.7 kB / 0.6362 GB, free: 5.961 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.514, allocations: 75.44 kB / 0.6362 GB, free: 5.887 MB / 478.1 MB
Notification: Performance of SimCode: time 1.914e-06/0.514, allocations: 0 / 0.6362 GB, free: 5.887 MB / 478.1 MB
Notification: Performance of Templates: time 0.02669/0.5407, allocations: 11.78 MB / 0.6477 GB, free: 10.16 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.717562730424106]