Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.002267/0.002267, allocations: 87.67 kB / 20.21 MB, free: 4.211 MB / 18.57 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.002181/0.002181, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.457/1.457, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 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.208/0.208, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 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.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.372e-05, allocations: 6.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01618/0.01621, allocations: 15.94 MB / 362.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.02893, allocations: 4.972 MB / 367.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003653/0.03259, allocations: 123.4 kB / 368 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01243/0.04502, allocations: 5.432 MB / 373.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008558/0.05358, allocations: 2.838 MB / 376.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.05692, allocations: 1.24 MB / 377.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.07034, allocations: 7.48 MB / 385 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009005/0.07934, allocations: 5.314 MB / 390.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008482/0.08782, allocations: 3.882 MB / 394.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007389/0.09521, allocations: 3.76 MB / 398 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.09695, allocations: 0.5469 MB / 398.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.1008, allocations: 1.416 MB / 399.9 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00526/0.106, allocations: 3.436 MB / 403.4 MB, free: 1.117 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007623/0.1136, allocations: 2.126 MB / 405.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01911/0.1327, allocations: 11.28 MB / 416.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1328, allocations: 0 / 416.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1328, allocations: 0 / 416.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004819/0.1332, allocations: 7.938 kB / 416.8 MB, free: 3.656 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02588/0.1591, allocations: 9.131 MB / 425.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1592, allocations: 16.03 kB / 425.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.1752, allocations: 3.53 MB / 429.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.1877, allocations: 4.002 MB / 433.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.1881, allocations: 382 kB / 433.8 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.1897, allocations: 0.4922 MB / 434.3 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1692/0.3589, allocations: 10.29 MB / 444.6 MB, free: 80.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/0.3591, allocations: 58.52 kB / 444.7 MB, free: 80.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006355/0.3598, allocations: 240.4 kB / 444.9 MB, free: 80.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004681/0.3645, allocations: 3.007 MB / 447.9 MB, free: 79.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.3823, allocations: 5.932 MB / 453.9 MB, free: 75.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06436/0.4467, allocations: 70.67 MB / 0.5122 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/0.4627, allocations: 4.301 MB / 0.5164 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/0.4664, allocations: 1.303 MB / 0.5177 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/0.4841, allocations: 6.464 MB / 0.524 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.845e-05/0.4841, allocations: 63.39 kB / 0.5241 GB, free: 7.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=273): time 6.302e-06/0.4841, allocations: 0 / 0.5241 GB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=315): time 0.09075/0.5749, allocations: 25.44 MB / 0.5489 GB, free: 13.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.5751, allocations: 239.9 kB / 0.5492 GB, free: 13.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01207/0.5871, allocations: 6.559 MB / 0.5556 GB, free: 7.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009192/0.5881, allocations: 75.73 kB / 0.5556 GB, free: 7.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006112/0.5942, allocations: 5.337 MB / 0.5608 GB, free: 1.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002693/0.5969, allocations: 1.364 MB / 0.5622 GB, free: 484 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005144/0.602, allocations: 2.354 MB / 0.5645 GB, free: 14.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.6023, allocations: 488.5 kB / 0.5649 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003925/0.6062, allocations: 1.373 MB / 0.5663 GB, free: 12.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/0.6189, allocations: 9.368 MB / 0.5754 GB, free: 15.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.6379, allocations: 11.84 MB / 0.587 GB, free: 68 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.1595/0.7974, allocations: 54.05 kB / 0.587 GB, free: 132.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02129/0.8187, allocations: 9.572 MB / 0.5964 GB, free: 130.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.8188, allocations: 85.34 kB / 0.5965 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/0.819, allocations: 182.3 kB / 0.5966 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005225/0.8242, allocations: 1.496 MB / 0.5981 GB, free: 130.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008164/0.8323, allocations: 2.171 MB / 0.6002 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.8436, allocations: 7.936 MB / 0.608 GB, free: 126.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007818/0.8514, allocations: 0.6086 MB / 0.6086 GB, free: 126.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/0.8533, allocations: 0.5333 MB / 0.6091 GB, free: 126.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1120): * Single equations (assignments): 1113 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003397/0.8567, allocations: 1.015 MB / 0.6101 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.858, allocations: 0.599 MB / 0.6107 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009792/0.8678, allocations: 4.023 MB / 0.6146 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.8678, allocations: 31.56 kB / 0.6146 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.8679, allocations: 11.81 kB / 0.6146 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.8679, allocations: 23.19 kB / 0.6147 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03564/0.9035, allocations: 11.69 MB / 0.6261 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/0.9036, allocations: 11.34 kB / 0.6261 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004218/0.9078, allocations: 0.5616 MB / 0.6266 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007439/0.9152, allocations: 1.252 MB / 0.6279 GB, free: 115.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006301/0.9158, allocations: 60 kB / 0.6279 GB, free: 115.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.9319, allocations: 7.47 MB / 0.6352 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.9319, allocations: 4 kB / 0.6352 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/0.9502, allocations: 5.805 MB / 0.6409 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004143/0.9543, allocations: 0.9813 MB / 0.6418 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/0.9554, allocations: 52.5 kB / 0.6419 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003925/0.9593, allocations: 303.4 kB / 0.6422 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008272/0.9602, allocations: 201.8 kB / 0.6424 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/0.9605, allocations: 84 kB / 0.6424 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005084/0.9656, allocations: 2.718 MB / 0.6451 GB, free: 98.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.9656, allocations: 0 / 0.6451 GB, free: 98.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01026/0.9759, allocations: 1.866 MB / 0.6469 GB, free: 96.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000972/0.9768, allocations: 230.6 kB / 0.6471 GB, free: 95.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01343/0.9903, allocations: 5.862 MB / 0.6529 GB, free: 90.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.9903, allocations: 0 / 0.6529 GB, free: 90.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006418/0.9967, allocations: 2.239 MB / 0.6551 GB, free: 87.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006269/1.003, allocations: 0.6272 MB / 0.6557 GB, free: 87.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/1.032, allocations: 12.79 MB / 0.6682 GB, free: 74.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007403/1.039, allocations: 3.935 MB / 0.672 GB, free: 70.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008841/1.048, allocations: 2.341 MB / 0.6743 GB, free: 67.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/1.05, allocations: 376.3 kB / 0.6746 GB, free: 67.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.234e-06/1.05, allocations: 0 / 0.6746 GB, free: 67.61 MB / 442.7 MB Notification: Performance of Templates: time 0.1158/1.166, allocations: 60.54 MB / 0.7338 GB, free: 7.117 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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: 8.176526717026718]