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.001002/0.001002, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008657/0.0008657, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2555/0.2555, allocations: 32.8 MB / 294.6 MB, free: 1.238 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 1.923e-06/1.923e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.891e-05, allocations: 4.703 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01641/0.01644, allocations: 14.62 MB / 337.9 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.02538, allocations: 5.048 MB / 342.9 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.02721, allocations: 119.4 kB / 343 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004949/0.03216, allocations: 5.369 MB / 348.4 MB, free: 444 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.0368, allocations: 2.671 MB / 351.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.0386, allocations: 1.232 MB / 352.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006824/0.04542, allocations: 7.633 MB / 359.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005168/0.05059, allocations: 5.266 MB / 365.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00581/0.0564, allocations: 4.675 MB / 369.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.06016, allocations: 3.308 MB / 373.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008885/0.06105, allocations: 0.5078 MB / 373.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.06304, allocations: 1.354 MB / 375 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.06534, allocations: 3.187 MB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002927/0.06827, allocations: 1.975 MB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006965/0.07523, allocations: 6.703 MB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.07524, allocations: 0 / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.07524, allocations: 0 / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.0754, allocations: 0 / 386.9 MB, free: 9.73 MB / 362.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.009987/0.08538, allocations: 6.934 MB / 393.8 MB, free: 2.727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.08542, allocations: 12.03 kB / 393.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005431/0.09085, allocations: 1.507 MB / 395.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/0.09541, allocations: 3.025 MB / 398.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.09564, allocations: 353.5 kB / 398.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006692/0.09631, allocations: 484.1 kB / 399.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.1065, allocations: 7.254 MB / 406.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.1066, allocations: 63.44 kB / 406.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000491/0.1071, allocations: 223.8 kB / 406.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/0.1096, allocations: 2.356 MB / 409.1 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007879/0.1175, allocations: 3.655 MB / 412.7 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/0.3189, allocations: 44.68 MB / 457.4 MB, free: 77.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005686/0.3246, allocations: 2.771 MB / 460.2 MB, free: 77.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/0.3252, allocations: 0.5648 MB / 460.8 MB, free: 77.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005319/0.3306, allocations: 4.901 MB / 465.7 MB, free: 76.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3306, allocations: 57.41 kB / 465.7 MB, free: 76.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 3.958e-06/0.3306, allocations: 5.5 kB / 465.7 MB, free: 76.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01766/0.3482, allocations: 8.145 MB / 473.9 MB, free: 75.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3483, allocations: 230.8 kB / 474.1 MB, free: 75.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003088/0.3514, allocations: 4.74 MB / 478.8 MB, free: 71.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.196e-05/0.3515, allocations: 60.05 kB / 478.9 MB, free: 71.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.3528, allocations: 4.403 MB / 483.3 MB, free: 67.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.3532, allocations: 0.8447 MB / 484.1 MB, free: 67.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.3542, allocations: 1.627 MB / 485.8 MB, free: 66.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.683e-05/0.3542, allocations: 301.1 kB / 486.1 MB, free: 65.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.3556, allocations: 1.052 MB / 487.1 MB, free: 64.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.358, allocations: 6.256 MB / 493.4 MB, free: 55.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.3622, allocations: 8.029 MB / 0.4896 GB, free: 45.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.014e-05/0.3622, allocations: 55.94 kB / 0.4897 GB, free: 45.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.005805/0.368, allocations: 6.019 MB / 0.4956 GB, free: 39.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.3681, allocations: 84 kB / 0.4957 GB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.449e-05/0.3682, allocations: 192 kB / 0.4958 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3693, allocations: 0.6067 MB / 0.4964 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.3719, allocations: 1.918 MB / 0.4983 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.3746, allocations: 4.219 MB / 0.5024 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.3773, allocations: 378.5 kB / 0.5028 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.3776, allocations: 452 kB / 0.5032 GB, free: 31.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * 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 (1064): * Single equations (assignments): 1057 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.3788, allocations: 0.8382 MB / 0.504 GB, free: 30.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.3791, allocations: 303.6 kB / 0.5043 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.3808, allocations: 1.378 MB / 0.5057 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.3808, allocations: 20 kB / 0.5057 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3808, allocations: 8 kB / 0.5057 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3808, allocations: 11.91 kB / 0.5057 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/0.387, allocations: 5.767 MB / 0.5113 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.387, allocations: 12.03 kB / 0.5114 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.3876, allocations: 283.6 kB / 0.5116 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3888, allocations: 0.6153 MB / 0.5122 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.3888, allocations: 43.98 kB / 0.5123 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.3912, allocations: 3.841 MB / 0.516 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3912, allocations: 8 kB / 0.516 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.3934, allocations: 2.495 MB / 0.5185 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.3938, allocations: 464.4 kB / 0.5189 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.3941, allocations: 40 kB / 0.5189 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.3949, allocations: 36 kB / 0.519 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.3951, allocations: 148.4 kB / 0.5191 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.3951, allocations: 43.98 kB / 0.5192 GB, free: 14.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.3963, allocations: 1.765 MB / 0.5209 GB, free: 13.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3963, allocations: 0 / 0.5209 GB, free: 13.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004006/0.4003, allocations: 1.496 MB / 0.5223 GB, free: 11.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (164): * Single equations (assignments): 159 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.4006, allocations: 181 kB / 0.5225 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.4038, allocations: 3.569 MB / 0.526 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001577/0.4039, allocations: 120.2 kB / 0.5261 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.4046, allocations: 0.8232 MB / 0.5269 GB, free: 6.934 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.4067, allocations: 0.8968 MB / 0.5278 GB, free: 6.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009738/0.4164, allocations: 10.73 MB / 0.5383 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.4179, allocations: 1.789 MB / 0.54 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001487/0.4194, allocations: 0.6853 MB / 0.5407 GB, free: 8.641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.4204, allocations: 0.7316 MB / 0.5414 GB, free: 7.906 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4204, allocations: 4 kB / 0.5414 GB, free: 7.902 MB / 426.7 MB Notification: Performance of Templates: time 0.06087/0.4812, allocations: 45.27 MB / 0.5856 GB, free: 11.07 MB / 474.7 MB " [Timeout remaining time 660] 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: 4.4218401541002095]