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.001033/0.001033, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001613/0.001613, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9489/0.9489, allocations: 177.2 MB / 205 MB, free: 5.621 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.2553/0.2553, allocations: 32.8 MB / 294.3 MB, free: 1.289 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.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.476e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01125/0.01128, allocations: 15.01 MB / 391 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.0188, allocations: 4.859 MB / 395.9 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009271/0.01972, allocations: 123.4 kB / 396 MB, free: 0.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.02451, allocations: 5.378 MB / 401.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.02804, allocations: 2.647 MB / 404 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.02965, allocations: 1.224 MB / 405.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006793/0.03644, allocations: 7.645 MB / 412.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005722/0.04216, allocations: 5.154 MB / 418.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.0466, allocations: 3.66 MB / 421.7 MB, free: 6.734 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00468/0.05128, allocations: 3.546 MB / 425.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007291/0.05201, allocations: 0.5156 MB / 425.8 MB, free: 2.664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.05416, allocations: 1.365 MB / 427.2 MB, free: 1.297 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002728/0.05689, allocations: 3.222 MB / 430.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.05894, allocations: 1.978 MB / 432.4 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007818/0.06676, allocations: 6.718 MB / 439.1 MB, free: 5.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.06677, allocations: 0 / 439.1 MB, free: 5.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06677, allocations: 0 / 439.1 MB, free: 5.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.2e-05/0.06683, allocations: 0 / 439.1 MB, free: 5.344 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.1733/0.2401, allocations: 8.03 MB / 447.1 MB, free: 77.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.2402, allocations: 8.562 kB / 447.1 MB, free: 77.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/0.2475, allocations: 3.38 MB / 450.5 MB, free: 76.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/0.2542, allocations: 3.789 MB / 454.3 MB, free: 76.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.2545, allocations: 357.7 kB / 454.6 MB, free: 76.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.2556, allocations: 479.4 kB / 455.1 MB, free: 76.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.2694, allocations: 9.164 MB / 464.3 MB, free: 72.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.2696, allocations: 63.91 kB / 464.3 MB, free: 72.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004155/0.27, allocations: 225.5 kB / 464.5 MB, free: 72.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002545/0.2726, allocations: 2.739 MB / 467.3 MB, free: 71.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.2842, allocations: 5.198 MB / 472.5 MB, free: 71.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04654/0.3308, allocations: 61.96 MB / 0.5219 GB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008971/0.3398, allocations: 4.006 MB / 0.5258 GB, free: 20.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.3417, allocations: 1.163 MB / 0.527 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008119/0.3498, allocations: 5.754 MB / 0.5326 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.3499, allocations: 71.22 kB / 0.5327 GB, free: 14.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 5.401e-06/0.3499, allocations: 0 / 0.5327 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.04734/0.3972, allocations: 24.12 MB / 0.5562 GB, free: 6.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.3973, allocations: 237.8 kB / 0.5564 GB, free: 6.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006561/0.4039, allocations: 5.038 MB / 0.5614 GB, free: 1.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007585/0.4047, allocations: 65.7 kB / 0.5614 GB, free: 1.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002819/0.4075, allocations: 4.777 MB / 0.5661 GB, free: 12.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/0.4091, allocations: 1.182 MB / 0.5672 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/0.4113, allocations: 1.913 MB / 0.5691 GB, free: 9.445 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4114, allocations: 476.8 kB / 0.5696 GB, free: 8.977 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4133, allocations: 1.141 MB / 0.5707 GB, free: 7.828 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.4188, allocations: 8.593 MB / 0.5791 GB, free: 11.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009651/0.4285, allocations: 10.7 MB / 0.5895 GB, free: 14.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/0.4287, allocations: 48 kB / 0.5896 GB, free: 14.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01642/0.4451, allocations: 8.866 MB / 0.5982 GB, free: 5.234 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.4452, allocations: 82.62 kB / 0.5983 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/0.4454, allocations: 176 kB / 0.5985 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003383/0.4487, allocations: 1.472 MB / 0.5999 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005419/0.4542, allocations: 2.016 MB / 0.6019 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1887/0.6429, allocations: 7.58 MB / 0.6093 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/0.6481, allocations: 0.5613 MB / 0.6098 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/0.6494, allocations: 0.5105 MB / 0.6103 GB, free: 110.5 MB / 474.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.002603/0.652, allocations: 0.861 MB / 0.6112 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.6531, allocations: 0.5646 MB / 0.6117 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/0.6586, allocations: 3.639 MB / 0.6153 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/0.6586, allocations: 28.62 kB / 0.6153 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/0.6587, allocations: 13.22 kB / 0.6153 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.6587, allocations: 19.25 kB / 0.6153 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.6749, allocations: 9.319 MB / 0.6244 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.6749, allocations: 3.031 kB / 0.6244 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.6763, allocations: 491.4 kB / 0.6249 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/0.6791, allocations: 1.236 MB / 0.6261 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002796/0.6794, allocations: 52.58 kB / 0.6262 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/0.6864, allocations: 7.163 MB / 0.6331 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6864, allocations: 6.625 kB / 0.6332 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007879/0.6943, allocations: 5.136 MB / 0.6382 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.6956, allocations: 491 kB / 0.6386 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/0.6962, allocations: 52.09 kB / 0.6387 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.6977, allocations: 266.4 kB / 0.6389 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/0.6981, allocations: 187.3 kB / 0.6391 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.6983, allocations: 81.92 kB / 0.6392 GB, free: 104.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003297/0.7016, allocations: 2.185 MB / 0.6413 GB, free: 103.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7016, allocations: 0 / 0.6413 GB, free: 103.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006606/0.7082, allocations: 1.739 MB / 0.643 GB, free: 103.4 MB / 474.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.0007243/0.7089, allocations: 214.4 kB / 0.6432 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007964/0.7169, allocations: 5.003 MB / 0.6481 GB, free: 102 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.7169, allocations: 0 / 0.6481 GB, free: 102 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003123/0.72, allocations: 1.977 MB / 0.6501 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.7232, allocations: 0.6285 MB / 0.6507 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.7407, allocations: 11.83 MB / 0.6622 GB, free: 95.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.7425, allocations: 1.859 MB / 0.664 GB, free: 94.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003501/0.746, allocations: 2.236 MB / 0.6662 GB, free: 94.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/0.747, allocations: 347.9 kB / 0.6666 GB, free: 94.56 MB / 474.7 MB Notification: Performance of SimCode: time 2.454e-06/0.747, allocations: 0 / 0.6666 GB, free: 94.56 MB / 474.7 MB Notification: Performance of Templates: time 0.0685/0.8155, allocations: 57.69 MB / 0.7229 GB, free: 42.13 MB / 474.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.25428109895438]