Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00176/0.00176, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002076/0.002076, allocations: 210.8 kB / 24.49 MB, free: 3.969 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.274/0.274, allocations: 46.96 MB / 361.6 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 67.84 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3273, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01758/0.3449, allocations: 13.5 MB / 0.575 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3562, allocations: 4.734 MB / 0.5796 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.3586, allocations: 127.4 kB / 0.5798 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009997/0.3686, allocations: 4.868 MB / 0.5845 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007649/0.3762, allocations: 2.552 MB / 0.587 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.3792, allocations: 1.108 MB / 0.5881 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.3903, allocations: 6.906 MB / 0.5948 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006677/0.397, allocations: 4.466 MB / 0.5992 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.4014, allocations: 2.438 MB / 0.6016 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/0.4068, allocations: 3.47 MB / 0.605 GB, free: 7.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.4079, allocations: 0.5039 MB / 0.6055 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.4107, allocations: 1.311 MB / 0.6067 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003299/0.414, allocations: 3.058 MB / 0.6097 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.4174, allocations: 2.493 MB / 0.6122 GB, free: 408 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.4307, allocations: 10.47 MB / 0.6224 GB, free: 5.883 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4307, allocations: 0 / 0.6224 GB, free: 5.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4307, allocations: 0 / 0.6224 GB, free: 5.883 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003101/0.431, allocations: 0 / 0.6224 GB, free: 5.883 MB / 462.1 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.01787/0.4488, allocations: 7.525 MB / 0.6297 GB, free: 14.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4489, allocations: 8.031 kB / 0.6297 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.4615, allocations: 2.758 MB / 0.6324 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.4734, allocations: 4.203 MB / 0.6365 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/0.4738, allocations: 362.3 kB / 0.6369 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/0.4755, allocations: 475.7 kB / 0.6373 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/0.5052, allocations: 14.74 MB / 0.6517 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/0.5054, allocations: 67.5 kB / 0.6518 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007094/0.5061, allocations: 223.8 kB / 0.652 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005187/0.5113, allocations: 2.746 MB / 0.6547 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.5385, allocations: 12.45 MB / 0.6668 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07968/0.6182, allocations: 54.45 MB / 0.72 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/0.6373, allocations: 6.586 MB / 0.7265 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005339/0.6427, allocations: 3.582 MB / 0.7299 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2567/0.8993, allocations: 7.663 MB / 0.7374 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.8993, allocations: 58.5 kB / 0.7375 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 6.352e-06/0.8994, allocations: 0 / 0.7375 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.07207/0.9714, allocations: 32.77 MB / 0.7695 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.9715, allocations: 235.6 kB / 0.7697 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/0.977, allocations: 5.559 MB / 0.7751 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005107/0.9775, allocations: 65.7 kB / 0.7752 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.9793, allocations: 4.597 MB / 0.7797 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009883/0.9802, allocations: 1.141 MB / 0.7808 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/0.9822, allocations: 1.801 MB / 0.7826 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.9822, allocations: 301.1 kB / 0.7829 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/0.9864, allocations: 3.617 MB / 0.7864 GB, free: 116 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/0.9921, allocations: 8.663 MB / 0.7948 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.003, allocations: 13.15 MB / 0.8077 GB, free: 89.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.003, allocations: 48 kB / 0.8077 GB, free: 89.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.0214/1.024, allocations: 13.94 MB / 0.8213 GB, free: 75.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/1.024, allocations: 83.98 kB / 0.8214 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.025, allocations: 176.1 kB / 0.8216 GB, free: 75.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005078/1.03, allocations: 2.26 MB / 0.8238 GB, free: 72.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0063/1.036, allocations: 2.016 MB / 0.8258 GB, free: 70.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.05, allocations: 13.83 MB / 0.8393 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006349/1.057, allocations: 0.507 MB / 0.8398 GB, free: 56.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.058, allocations: 0.5078 MB / 0.8403 GB, free: 55.71 MB / 0.5606 GB 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.00485/1.063, allocations: 2.98 MB / 0.8432 GB, free: 52.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.064, allocations: 0.4889 MB / 0.8436 GB, free: 52.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.075, allocations: 7.104 MB / 0.8506 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/1.075, allocations: 15.89 kB / 0.8506 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/1.075, allocations: 8 kB / 0.8506 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.076, allocations: 448.4 kB / 0.851 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006989/1.076, allocations: 48 kB / 0.8511 GB, free: 44.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.079, allocations: 199.5 kB / 0.8513 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/1.079, allocations: 205.9 kB / 0.8515 GB, free: 44.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01176/1.091, allocations: 7.587 MB / 0.8589 GB, free: 36.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009891/1.101, allocations: 9.436 MB / 0.8681 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002699/1.104, allocations: 2.367 MB / 0.8704 GB, free: 24.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004467/1.108, allocations: 3.241 MB / 0.8736 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of Backend: time 5.71e-07/1.108, allocations: 0 / 0.8736 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.12, allocations: 6.385 MB / 0.8798 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02071/1.14, allocations: 13.87 MB / 0.8933 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.1421/1.282, allocations: 78.38 MB / 0.9699 GB, free: 3.562 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.454243253996538]