Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001035/0.001035, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001053/0.001053, allocations: 165.8 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9768/0.9768, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.269/0.269, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.198e-05, allocations: 2.312 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01513/0.01516, allocations: 14.94 MB / 390.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009652/0.02481, allocations: 4.865 MB / 395.8 MB, free: 1.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.02733, allocations: 123.4 kB / 395.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006188/0.03352, allocations: 5.358 MB / 401.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.03956, allocations: 2.647 MB / 403.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.042, allocations: 1.224 MB / 405.2 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008722/0.05072, allocations: 7.653 MB / 412.8 MB, free: 84 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006651/0.05737, allocations: 5.154 MB / 418 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006705/0.06408, allocations: 3.664 MB / 421.6 MB, free: 7.176 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004581/0.06866, allocations: 3.546 MB / 425.2 MB, free: 3.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.06983, allocations: 0.5156 MB / 425.7 MB, free: 3.105 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.07225, allocations: 1.358 MB / 427 MB, free: 1.746 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002796/0.07505, allocations: 3.218 MB / 430.3 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.07808, allocations: 1.978 MB / 432.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008877/0.08696, allocations: 6.718 MB / 439 MB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.08697, allocations: 4 kB / 439 MB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.888e-06/0.08697, allocations: 4 kB / 439 MB, free: 5.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004312/0.0874, allocations: 0 / 439 MB, free: 5.785 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.1775/0.2649, allocations: 8.021 MB / 447 MB, free: 101.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.265, allocations: 14.33 kB / 447 MB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007028/0.272, allocations: 3.38 MB / 450.4 MB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.2777, allocations: 3.787 MB / 454.2 MB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.2779, allocations: 356.7 kB / 454.5 MB, free: 99.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008055/0.2787, allocations: 482.4 kB / 455 MB, free: 99.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.297, allocations: 9.16 MB / 464.2 MB, free: 94.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002671/0.2973, allocations: 65.34 kB / 464.2 MB, free: 94.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000855/0.2982, allocations: 228.7 kB / 464.4 MB, free: 93.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004221/0.3024, allocations: 2.742 MB / 467.2 MB, free: 93.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.3163, allocations: 5.188 MB / 472.4 MB, free: 92.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03969/0.3559, allocations: 61.97 MB / 0.5218 GB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008566/0.3645, allocations: 4.003 MB / 0.5257 GB, free: 35.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3658, allocations: 1.179 MB / 0.5269 GB, free: 33.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00589/0.3717, allocations: 5.74 MB / 0.5325 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3718, allocations: 63.39 kB / 0.5325 GB, free: 28.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 3.907e-06/0.3718, allocations: 4 kB / 0.5325 GB, free: 28.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.04058/0.4123, allocations: 24.11 MB / 0.5561 GB, free: 3.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4124, allocations: 239.6 kB / 0.5563 GB, free: 3.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.4167, allocations: 5.031 MB / 0.5612 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.4168, allocations: 69.7 kB / 0.5613 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002474/0.4193, allocations: 4.783 MB / 0.566 GB, free: 9.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008528/0.4202, allocations: 1.183 MB / 0.5671 GB, free: 8.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/0.4219, allocations: 1.91 MB / 0.569 GB, free: 6.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.422, allocations: 476.8 kB / 0.5694 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.4239, allocations: 1.145 MB / 0.5706 GB, free: 4.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005259/0.4292, allocations: 8.597 MB / 0.579 GB, free: 8.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008113/0.4373, allocations: 10.69 MB / 0.5894 GB, free: 10.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.277e-05/0.4374, allocations: 48 kB / 0.5894 GB, free: 10.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01172/0.4491, allocations: 8.867 MB / 0.5981 GB, free: 1.895 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/0.4492, allocations: 80 kB / 0.5982 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/0.4493, allocations: 177.7 kB / 0.5983 GB, free: 1.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.4523, allocations: 1.475 MB / 0.5998 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1493/0.6016, allocations: 2.009 MB / 0.6017 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.61, allocations: 7.576 MB / 0.6091 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/0.6149, allocations: 0.5651 MB / 0.6097 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006066/0.6155, allocations: 0.5142 MB / 0.6102 GB, free: 119.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1058): * Single equations (assignments): 1051 * 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.001804/0.6173, allocations: 0.8667 MB / 0.611 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007424/0.618, allocations: 0.564 MB / 0.6116 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/0.6252, allocations: 3.633 MB / 0.6151 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.6252, allocations: 32.12 kB / 0.6152 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.6253, allocations: 13.45 kB / 0.6152 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.6253, allocations: 13.81 kB / 0.6152 GB, free: 118.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.6409, allocations: 9.316 MB / 0.6243 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6409, allocations: 5.938 kB / 0.6243 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.6426, allocations: 492.8 kB / 0.6248 GB, free: 117.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/0.6464, allocations: 1.242 MB / 0.626 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/0.6466, allocations: 51.12 kB / 0.626 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008299/0.6549, allocations: 7.158 MB / 0.633 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6549, allocations: 12.48 kB / 0.633 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007425/0.6623, allocations: 5.14 MB / 0.6381 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007116/0.6631, allocations: 492.8 kB / 0.6385 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/0.6635, allocations: 56.05 kB / 0.6386 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.6648, allocations: 258.9 kB / 0.6388 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/0.6651, allocations: 188.9 kB / 0.639 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.6653, allocations: 75.91 kB / 0.6391 GB, free: 110 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002539/0.6678, allocations: 2.179 MB / 0.6412 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6678, allocations: 0 / 0.6412 GB, free: 109.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005318/0.6731, allocations: 1.742 MB / 0.6429 GB, free: 109.2 MB / 458.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 (232): * Single equations (assignments): 227 * 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.0004724/0.6736, allocations: 216 kB / 0.6431 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006347/0.68, allocations: 4.997 MB / 0.648 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.68, allocations: 0.5625 kB / 0.648 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/0.6827, allocations: 1.991 MB / 0.6499 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.6848, allocations: 0.6224 MB / 0.6506 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.6976, allocations: 11.85 MB / 0.6621 GB, free: 96.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.6989, allocations: 1.864 MB / 0.6639 GB, free: 95.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00305/0.7019, allocations: 2.221 MB / 0.6661 GB, free: 94.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000766/0.7027, allocations: 350.4 kB / 0.6664 GB, free: 94.01 MB / 458.7 MB Notification: Performance of SimCode: time 2.024e-06/0.7027, allocations: 0 / 0.6664 GB, free: 94.01 MB / 458.7 MB Notification: Performance of Templates: time 0.06328/0.766, allocations: 57.69 MB / 0.7228 GB, free: 37.49 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","",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.18358502490446]