Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.0019/0.0019, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002344/0.002344, allocations: 212.9 kB / 23.72 MB, free: 4.391 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2688/0.2688, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00244/0.00244, allocations: 72.08 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3825, allocations: 65.47 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01523/0.3977, allocations: 11.06 MB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.4084, allocations: 4.295 MB / 0.5725 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.4106, allocations: 103.5 kB / 0.5726 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007617/0.4183, allocations: 3.602 MB / 0.5761 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.426, allocations: 2.261 MB / 0.5783 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.4287, allocations: 0.9943 MB / 0.5793 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009939/0.4387, allocations: 6.04 MB / 0.5852 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005988/0.4447, allocations: 3.505 MB / 0.5886 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.4492, allocations: 1.982 MB / 0.5905 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005013/0.4542, allocations: 2.659 MB / 0.5931 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.4553, allocations: 407.9 kB / 0.5935 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.4583, allocations: 1.334 MB / 0.5948 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002903/0.4612, allocations: 2.489 MB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.4645, allocations: 2.004 MB / 0.5992 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.4765, allocations: 8.693 MB / 0.6077 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4765, allocations: 0 / 0.6077 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4765, allocations: 0 / 0.6077 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000323/0.4768, allocations: 0 / 0.6077 GB, free: 3.824 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01551/0.4923, allocations: 6.076 MB / 0.6136 GB, free: 13.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4924, allocations: 8.031 kB / 0.6136 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5042, allocations: 2.571 MB / 0.6161 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.5143, allocations: 3.676 MB / 0.6197 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.5146, allocations: 275.5 kB / 0.62 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.5158, allocations: 387.7 kB / 0.6204 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.5401, allocations: 11.64 MB / 0.6317 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/0.5404, allocations: 63.52 kB / 0.6318 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.5418, allocations: 183.8 kB / 0.632 GB, free: 9.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/0.5461, allocations: 2.139 MB / 0.634 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/0.5687, allocations: 9.586 MB / 0.6434 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0644/0.6331, allocations: 42.78 MB / 0.6852 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.6438, allocations: 3.325 MB / 0.6884 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/0.6471, allocations: 2.002 MB / 0.6904 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.659, allocations: 5.64 MB / 0.6959 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.659, allocations: 55.44 kB / 0.696 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.739e-06/0.659, allocations: 0 / 0.696 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.0498/0.7088, allocations: 16.53 MB / 0.7121 GB, free: 6.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.709, allocations: 204.9 kB / 0.7123 GB, free: 6.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008716/0.7177, allocations: 4.798 MB / 0.717 GB, free: 1.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.718, allocations: 53.7 kB / 0.717 GB, free: 1.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003426/0.7215, allocations: 3.871 MB / 0.7208 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.7225, allocations: 0.6941 MB / 0.7215 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/0.7255, allocations: 1.428 MB / 0.7229 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7257, allocations: 301.1 kB / 0.7232 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004013/0.7297, allocations: 2.313 MB / 0.7254 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3036/1.033, allocations: 6.623 MB / 0.7319 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.046, allocations: 9.571 MB / 0.7412 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/1.046, allocations: 47.25 kB / 0.7413 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01566/1.062, allocations: 9.546 MB / 0.7506 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/1.062, allocations: 75.41 kB / 0.7507 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.062, allocations: 150.3 kB / 0.7508 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/1.065, allocations: 1.209 MB / 0.752 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/1.069, allocations: 1.576 MB / 0.7535 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007856/1.077, allocations: 8.011 MB / 0.7614 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/1.082, allocations: 371.1 kB / 0.7617 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007191/1.083, allocations: 423 kB / 0.7621 GB, free: 131.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (842): * Single equations (assignments): 835 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003208/1.086, allocations: 2.46 MB / 0.7645 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006149/1.087, allocations: 397.2 kB / 0.7649 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/1.092, allocations: 3.345 MB / 0.7682 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.092, allocations: 16 kB / 0.7682 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.092, allocations: 13.69 kB / 0.7682 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.092, allocations: 11.91 kB / 0.7682 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.103, allocations: 6.996 MB / 0.775 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.103, allocations: 0 / 0.775 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.104, allocations: 307.7 kB / 0.7753 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/1.107, allocations: 0.9875 MB / 0.7763 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.107, allocations: 31.98 kB / 0.7763 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007091/1.114, allocations: 7.361 MB / 0.7835 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.114, allocations: 4 kB / 0.7835 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/1.122, allocations: 5.808 MB / 0.7892 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.123, allocations: 366.8 kB / 0.7895 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/1.123, allocations: 28 kB / 0.7896 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.125, allocations: 91.88 kB / 0.7897 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.125, allocations: 108.8 kB / 0.7898 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.125, allocations: 51.98 kB / 0.7898 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00384/1.129, allocations: 2.802 MB / 0.7925 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.129, allocations: 0 / 0.7925 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006109/1.135, allocations: 1.143 MB / 0.7937 GB, free: 99.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003995/1.135, allocations: 162 kB / 0.7938 GB, free: 99.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007505/1.143, allocations: 5.375 MB / 0.7991 GB, free: 94.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.143, allocations: 0 / 0.7991 GB, free: 94.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.144, allocations: 1.519 MB / 0.8006 GB, free: 92.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.147, allocations: 0.5057 MB / 0.801 GB, free: 92.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.165, allocations: 10.89 MB / 0.8117 GB, free: 81.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.168, allocations: 3.25 MB / 0.8149 GB, free: 78.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003933/1.172, allocations: 2.034 MB / 0.8168 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006348/1.172, allocations: 255.4 kB / 0.8171 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.172, allocations: 4 kB / 0.8171 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.06868/1.241, allocations: 40.88 MB / 0.857 GB, free: 35.53 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.589044013991952]