Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 226.3 kB / 23.01 MB, free: 5.039 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.682/1.682, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.2326/0.2326, allocations: 44.25 MB / 330.3 MB, free: 9.508 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 71.88 kB / 468 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1401, allocations: 61.04 MB / 0.5166 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01829/0.1584, allocations: 14.01 MB / 0.5303 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1688, allocations: 4.245 MB / 0.5345 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.1717, allocations: 79.75 kB / 0.5346 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.176, allocations: 1.872 MB / 0.5364 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00549/0.1815, allocations: 1.922 MB / 0.5383 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.183, allocations: 0.5614 MB / 0.5388 GB, free: 36 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2507/0.4337, allocations: 3.948 MB / 0.5427 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.4369, allocations: 2.333 MB / 0.5449 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.4393, allocations: 1.442 MB / 0.5463 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.4424, allocations: 2.178 MB / 0.5485 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007562/0.4431, allocations: 294.4 kB / 0.5488 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.4452, allocations: 1.03 MB / 0.5498 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.4469, allocations: 1.844 MB / 0.5516 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.449, allocations: 2.165 MB / 0.5537 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009316/0.4583, allocations: 7.1 MB / 0.5606 GB, free: 6.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4583, allocations: 2.391 kB / 0.5606 GB, free: 6.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4583, allocations: 3.844 kB / 0.5606 GB, free: 6.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001991/0.4585, allocations: 1.188 kB / 0.5606 GB, free: 6.086 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.0105/0.469, allocations: 4.689 MB / 0.5652 GB, free: 3.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.469, allocations: 9.125 kB / 0.5652 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.4796, allocations: 3.139 MB / 0.5683 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007049/0.4866, allocations: 2.17 MB / 0.5704 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.4868, allocations: 222.1 kB / 0.5706 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.4884, allocations: 296.1 kB / 0.5709 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.5092, allocations: 11.32 MB / 0.5819 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.5093, allocations: 29.2 kB / 0.582 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005784/0.5099, allocations: 141.4 kB / 0.5821 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004835/0.5147, allocations: 2.711 MB / 0.5848 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.5391, allocations: 10.47 MB / 0.595 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06584/0.605, allocations: 37.19 MB / 0.6313 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009782/0.6148, allocations: 3.483 MB / 0.6347 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/0.6187, allocations: 2.228 MB / 0.6369 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.6198, allocations: 452 kB / 0.6373 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/0.6199, allocations: 56.5 kB / 0.6374 GB, free: 3.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 6.873e-06/0.6199, allocations: 0 / 0.6374 GB, free: 3.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04984/0.6697, allocations: 17.47 MB / 0.6544 GB, free: 1.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.6698, allocations: 77.41 kB / 0.6545 GB, free: 1.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005586/0.6754, allocations: 2.805 MB / 0.6572 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000538/0.6759, allocations: 61.7 kB / 0.6573 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002762/0.6787, allocations: 2.977 MB / 0.6602 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.6801, allocations: 0.9579 MB / 0.6611 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002018/0.6821, allocations: 1.093 MB / 0.6622 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6823, allocations: 309.1 kB / 0.6625 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/0.6864, allocations: 2.33 MB / 0.6648 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007054/0.6935, allocations: 5.306 MB / 0.67 GB, free: 232 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01424/0.7077, allocations: 8.386 MB / 0.6781 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.883e-05/0.7078, allocations: 32 kB / 0.6782 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01938/0.7272, allocations: 8.394 MB / 0.6864 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/0.7273, allocations: 48 kB / 0.6864 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.7274, allocations: 104 kB / 0.6865 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.7305, allocations: 0.9416 MB / 0.6874 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/0.7354, allocations: 1.248 MB / 0.6887 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/0.7435, allocations: 5.04 MB / 0.6936 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/0.7473, allocations: 302.7 kB / 0.6939 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008404/0.7481, allocations: 312 kB / 0.6942 GB, free: 5.887 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.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 (669): * Single equations (assignments): 662 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004888/0.753, allocations: 2.193 MB / 0.6963 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/0.7538, allocations: 301.9 kB / 0.6966 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.7641, allocations: 5.118 MB / 0.7016 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/0.7641, allocations: 50.88 kB / 0.7016 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.7641, allocations: 0 / 0.7016 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.7642, allocations: 11.97 kB / 0.7017 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/0.7906, allocations: 11.92 MB / 0.7133 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.7907, allocations: 11.56 kB / 0.7133 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.7926, allocations: 399.3 kB / 0.7137 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.7952, allocations: 0.7853 MB / 0.7145 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/0.7955, allocations: 54.72 kB / 0.7145 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006546/0.8021, allocations: 4.288 MB / 0.7187 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/0.8021, allocations: 15.94 kB / 0.7187 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.8155, allocations: 7.642 MB / 0.7262 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/0.8176, allocations: 0.619 MB / 0.7268 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/0.8181, allocations: 51.98 kB / 0.7268 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.8193, allocations: 147.5 kB / 0.727 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.8197, allocations: 164.8 kB / 0.7271 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.8199, allocations: 71.98 kB / 0.7272 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002848/0.8227, allocations: 1.725 MB / 0.7289 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8227, allocations: 0 / 0.7289 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004458/0.8272, allocations: 0.996 MB / 0.7298 GB, free: 0.8945 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004837/0.8277, allocations: 185.6 kB / 0.73 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009026/0.8367, allocations: 5.471 MB / 0.7354 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.8367, allocations: 4.062 kB / 0.7354 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/0.84, allocations: 1.996 MB / 0.7373 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.8424, allocations: 395.3 kB / 0.7377 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/0.8642, allocations: 10.56 MB / 0.748 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005794/0.87, allocations: 3.44 MB / 0.7514 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0056/0.8756, allocations: 1.998 MB / 0.7533 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000913/0.8765, allocations: 215.4 kB / 0.7535 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of SimCode: time 1.363e-06/0.8765, allocations: 0 / 0.7535 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of Templates: time 0.3002/1.177, allocations: 35.93 MB / 0.7886 GB, free: 189.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.6048798591364175]