Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.00178/0.00178, allocations: 81.22 kB / 20.52 MB, free: 1.266 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.002358/0.002358, allocations: 167.5 kB / 23.76 MB, free: 4.465 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.348/1.348, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.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.1996/0.1996, allocations: 32.37 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 180] 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [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.002293/0.002293, allocations: 71.89 kB / 407.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1065, allocations: 61.04 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2308/0.3373, allocations: 11.05 MB / 479.9 MB, free: 43.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0076/0.3449, allocations: 3.792 MB / 483.6 MB, free: 43.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.3465, allocations: 68.28 kB / 483.7 MB, free: 43.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.3489, allocations: 1.301 MB / 485 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.3525, allocations: 1.85 MB / 486.9 MB, free: 42.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3536, allocations: 0.4917 MB / 487.4 MB, free: 41.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.3574, allocations: 3.656 MB / 491 MB, free: 40.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.3592, allocations: 1.871 MB / 492.9 MB, free: 39.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.3604, allocations: 1.259 MB / 494.1 MB, free: 39.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.3623, allocations: 1.849 MB / 496 MB, free: 38.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004448/0.3628, allocations: 241.8 kB / 496.2 MB, free: 38.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.3642, allocations: 0.8442 MB / 497.1 MB, free: 38.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3652, allocations: 1.671 MB / 498.7 MB, free: 37.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.3664, allocations: 1.395 MB / 0.4884 GB, free: 36.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.3728, allocations: 6.417 MB / 0.4947 GB, free: 34.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3729, allocations: 0.6562 kB / 0.4947 GB, free: 34.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3729, allocations: 0 / 0.4947 GB, free: 34.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.3731, allocations: 0.6562 kB / 0.4947 GB, free: 34.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.008398/0.3814, allocations: 4.281 MB / 0.4989 GB, free: 31.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3815, allocations: 14.94 kB / 0.4989 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.3934, allocations: 3.167 MB / 0.502 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005814/0.3992, allocations: 1.926 MB / 0.5038 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.3994, allocations: 193 kB / 0.504 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000689/0.4001, allocations: 255.2 kB / 0.5043 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.4174, allocations: 10.71 MB / 0.5147 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.4175, allocations: 32.7 kB / 0.5148 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/0.418, allocations: 115.9 kB / 0.5149 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004647/0.4226, allocations: 2.63 MB / 0.5174 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.4423, allocations: 9.996 MB / 0.5272 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04902/0.4913, allocations: 32.56 MB / 0.559 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009964/0.5012, allocations: 4.167 MB / 0.5631 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.5046, allocations: 2.112 MB / 0.5651 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.5059, allocations: 0.5363 MB / 0.5657 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.5059, allocations: 56.5 kB / 0.5657 GB, free: 9.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 6.282e-06/0.5059, allocations: 3.938 kB / 0.5657 GB, free: 9.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03657/0.5425, allocations: 14.32 MB / 0.5797 GB, free: 10.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.5426, allocations: 73.41 kB / 0.5798 GB, free: 10.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/0.5467, allocations: 2.666 MB / 0.5824 GB, free: 8.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.5469, allocations: 57.7 kB / 0.5824 GB, free: 8.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/0.5491, allocations: 2.838 MB / 0.5852 GB, free: 5.258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009672/0.55, allocations: 0.8913 MB / 0.5861 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/0.5517, allocations: 1.061 MB / 0.5871 GB, free: 3.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5519, allocations: 361.9 kB / 0.5874 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/0.5553, allocations: 2.212 MB / 0.5896 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005857/0.5611, allocations: 5.138 MB / 0.5946 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.5715, allocations: 8.055 MB / 0.6025 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.5716, allocations: 28 kB / 0.6025 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01407/0.5857, allocations: 7.948 MB / 0.6103 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.5858, allocations: 51.98 kB / 0.6103 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/0.5859, allocations: 107.9 kB / 0.6104 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.5883, allocations: 0.785 MB / 0.6112 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/0.5923, allocations: 1.205 MB / 0.6124 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.5988, allocations: 4.372 MB / 0.6166 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.6028, allocations: 291.8 kB / 0.6169 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/0.6038, allocations: 308 kB / 0.6172 GB, free: 1.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (644): * Single equations (assignments): 637 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004769/0.6086, allocations: 2.062 MB / 0.6192 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/0.6093, allocations: 258.3 kB / 0.6195 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008927/0.6182, allocations: 4.711 MB / 0.6241 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-05/0.6183, allocations: 43.98 kB / 0.6241 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6183, allocations: 4 kB / 0.6241 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.6183, allocations: 15.91 kB / 0.6241 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.6358, allocations: 9.28 MB / 0.6332 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.6358, allocations: 8 kB / 0.6332 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.6375, allocations: 360.3 kB / 0.6336 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.6397, allocations: 0.656 MB / 0.6342 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.6399, allocations: 43.98 kB / 0.6342 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005456/0.6453, allocations: 3.753 MB / 0.6379 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.6453, allocations: 16 kB / 0.6379 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.6567, allocations: 7.127 MB / 0.6449 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.6582, allocations: 0.5645 MB / 0.6454 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/0.6586, allocations: 41.5 kB / 0.6455 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6599, allocations: 147.8 kB / 0.6456 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.6603, allocations: 133 kB / 0.6457 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.6604, allocations: 71.97 kB / 0.6458 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002367/0.6628, allocations: 1.502 MB / 0.6473 GB, free: 2.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6628, allocations: 0 / 0.6473 GB, free: 2.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00378/0.6666, allocations: 0.9374 MB / 0.6482 GB, free: 1.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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,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.0004172/0.667, allocations: 178.8 kB / 0.6484 GB, free: 1.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007701/0.6747, allocations: 5.186 MB / 0.6534 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.6747, allocations: 12.19 kB / 0.6534 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.6773, allocations: 1.863 MB / 0.6552 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.6788, allocations: 280.4 kB / 0.6555 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.6977, allocations: 9.731 MB / 0.665 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004739/0.7024, allocations: 2.689 MB / 0.6676 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005122/0.7075, allocations: 1.948 MB / 0.6695 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009998/0.7085, allocations: 192.5 kB / 0.6697 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.7085, allocations: 0 / 0.6697 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.05701/0.7655, allocations: 23.9 MB / 0.6931 GB, free: 3.242 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.552057032007724]