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.001879/0.001879, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002378/0.002378, allocations: 212.4 kB / 22.98 MB, free: 4.977 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.488/1.488, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2401/0.2401, allocations: 44.27 MB / 330.3 MB, free: 9.297 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.003535/0.003535, allocations: 74.56 kB / 468 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1336, allocations: 61.05 MB / 0.5167 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0159/0.1495, allocations: 12.13 MB / 0.5285 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009996/0.1595, allocations: 4.019 MB / 0.5324 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.1619, allocations: 83.69 kB / 0.5325 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.1662, allocations: 1.798 MB / 0.5343 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.1717, allocations: 1.93 MB / 0.5362 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1733, allocations: 0.5537 MB / 0.5367 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2857/0.459, allocations: 3.949 MB / 0.5405 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00391/0.4629, allocations: 2.319 MB / 0.5428 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.4659, allocations: 1.445 MB / 0.5442 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.4694, allocations: 2.064 MB / 0.5462 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.4703, allocations: 298 kB / 0.5465 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.4728, allocations: 0.9068 MB / 0.5474 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002315/0.4751, allocations: 1.843 MB / 0.5492 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002546/0.4777, allocations: 1.565 MB / 0.5507 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.4905, allocations: 7.135 MB / 0.5577 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4905, allocations: 0 / 0.5577 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4905, allocations: 1.969 kB / 0.5577 GB, free: 7.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.4908, allocations: 3.75 kB / 0.5577 GB, free: 7.801 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.01441/0.5052, allocations: 4.684 MB / 0.5623 GB, free: 5.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5053, allocations: 13.06 kB / 0.5623 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.5163, allocations: 3.137 MB / 0.5654 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007931/0.5242, allocations: 2.186 MB / 0.5675 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.5245, allocations: 226.7 kB / 0.5677 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.5262, allocations: 291.9 kB / 0.568 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.548, allocations: 11.33 MB / 0.5791 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.5482, allocations: 31.97 kB / 0.5791 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.5486, allocations: 138 kB / 0.5792 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004497/0.5531, allocations: 2.713 MB / 0.5819 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.5762, allocations: 10.45 MB / 0.5921 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06816/0.6443, allocations: 34.28 MB / 0.6255 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6546, allocations: 3.471 MB / 0.6289 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/0.6589, allocations: 2.22 MB / 0.6311 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.66, allocations: 446.7 kB / 0.6315 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/0.6601, allocations: 56.56 kB / 0.6316 GB, free: 10.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 7.043e-06/0.6601, allocations: 2.719 kB / 0.6316 GB, free: 10.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04714/0.7072, allocations: 17.51 MB / 0.6487 GB, free: 8.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.7073, allocations: 80.16 kB / 0.6488 GB, free: 8.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006001/0.7133, allocations: 2.753 MB / 0.6514 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.7136, allocations: 61.7 kB / 0.6515 GB, free: 5.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.7164, allocations: 2.992 MB / 0.6544 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.7179, allocations: 0.9569 MB / 0.6554 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002599/0.7205, allocations: 1.101 MB / 0.6564 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7206, allocations: 301.1 kB / 0.6567 GB, free: 404 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004158/0.7248, allocations: 2.331 MB / 0.659 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007208/0.732, allocations: 5.309 MB / 0.6642 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/0.745, allocations: 8.391 MB / 0.6724 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001602/0.7451, allocations: 28 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01993/0.7651, allocations: 8.387 MB / 0.6806 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.7652, allocations: 52 kB / 0.6806 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/0.7654, allocations: 100 kB / 0.6807 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/0.7684, allocations: 0.9451 MB / 0.6817 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/0.7731, allocations: 1.248 MB / 0.6829 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/0.7817, allocations: 4.971 MB / 0.6877 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/0.7864, allocations: 302 kB / 0.688 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/0.7878, allocations: 314.2 kB / 0.6883 GB, free: 13.18 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.006677/0.7945, allocations: 2.19 MB / 0.6905 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009911/0.7955, allocations: 278.1 kB / 0.6907 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.8072, allocations: 5.118 MB / 0.6957 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.062e-05/0.8072, allocations: 47.98 kB / 0.6958 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.8073, allocations: 4 kB / 0.6958 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.8073, allocations: 7.969 kB / 0.6958 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/0.8337, allocations: 10.44 MB / 0.706 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.605e-05/0.8338, allocations: 12 kB / 0.706 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.8356, allocations: 403.3 kB / 0.7064 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.8382, allocations: 0.777 MB / 0.7071 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003294/0.8386, allocations: 48.06 kB / 0.7072 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/0.8449, allocations: 4.234 MB / 0.7113 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.8449, allocations: 15.94 kB / 0.7113 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.8582, allocations: 7.607 MB / 0.7188 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/0.8604, allocations: 0.5918 MB / 0.7193 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008026/0.8612, allocations: 55.98 kB / 0.7194 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.8631, allocations: 149.3 kB / 0.7195 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/0.8635, allocations: 167.9 kB / 0.7197 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/0.8637, allocations: 70.73 kB / 0.7198 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003807/0.8675, allocations: 1.559 MB / 0.7213 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8675, allocations: 0 / 0.7213 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006277/0.8738, allocations: 0.9921 MB / 0.7223 GB, free: 10.02 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.0007829/0.8746, allocations: 194.3 kB / 0.7224 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01031/0.8849, allocations: 5.474 MB / 0.7278 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/0.8849, allocations: 0 / 0.7278 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.8885, allocations: 2 MB / 0.7297 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.8918, allocations: 297.8 kB / 0.73 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.9165, allocations: 10.55 MB / 0.7403 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007363/0.9238, allocations: 2.89 MB / 0.7431 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005255/0.9291, allocations: 1.977 MB / 0.7451 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.9301, allocations: 211.4 kB / 0.7453 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.9301, allocations: 3.938 kB / 0.7453 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of Templates: time 0.3459/1.276, allocations: 30.92 MB / 0.7755 GB, free: 196.7 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.687826748937368]