Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.0009622/0.0009622, allocations: 84.41 kB / 22.21 MB, free: 2.285 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.0009772/0.0009772, allocations: 174.4 kB / 25.61 MB, free: 8.914 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.8906/0.8906, allocations: 177.2 MB / 206.1 MB, free: 4.516 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.1252/0.1252, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.44e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.006239/0.006254, allocations: 9.785 MB / 387.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004676/0.01093, allocations: 3.78 MB / 390.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.0115, allocations: 67.69 kB / 390.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.01325, allocations: 2.2 MB / 393.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.0151, allocations: 1.785 MB / 394.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.01591, allocations: 0.756 MB / 395.7 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.01828, allocations: 4.42 MB / 400.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.01974, allocations: 2.495 MB / 402.6 MB, free: 164 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.02181, allocations: 2.468 MB / 405 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.02374, allocations: 2.011 MB / 407 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.02416, allocations: 272 kB / 407.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.02539, allocations: 1.135 MB / 408.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.02652, allocations: 1.788 MB / 410.2 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.02769, allocations: 1.075 MB / 411.3 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00348/0.03117, allocations: 4.243 MB / 415.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.03117, allocations: 0 / 415.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03118, allocations: 4 kB / 415.6 MB, free: 3.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.0312, allocations: 0 / 415.6 MB, free: 3.133 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.004294/0.0355, allocations: 4.473 MB / 420 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.03553, allocations: 11.98 kB / 420 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006924/0.04245, allocations: 1.945 MB / 422 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.04459, allocations: 1.806 MB / 423.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.04469, allocations: 205.2 kB / 424 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.04504, allocations: 268.5 kB / 424.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004884/0.04992, allocations: 4.905 MB / 429.2 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.656e-05/0.04999, allocations: 35.7 kB / 429.2 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.0502, allocations: 127.9 kB / 429.3 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001253/0.05146, allocations: 1.54 MB / 430.9 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003222/0.05468, allocations: 2.198 MB / 433.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02083/0.07551, allocations: 37.4 MB / 470.5 MB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.07873, allocations: 1.583 MB / 472 MB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.07943, allocations: 428.5 kB / 472.5 MB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004246/0.08367, allocations: 3.687 MB / 476.1 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.08371, allocations: 54.38 kB / 476.2 MB, free: 4.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 3.176e-06/0.08371, allocations: 0 / 476.2 MB, free: 4.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=169): time 0.01844/0.1022, allocations: 8.261 MB / 484.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.1022, allocations: 196.9 kB / 484.7 MB, free: 11.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.105, allocations: 3.372 MB / 488 MB, free: 8.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.1051, allocations: 49.7 kB / 488.1 MB, free: 8.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.1065, allocations: 3.162 MB / 491.2 MB, free: 4.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.1069, allocations: 0.7135 MB / 491.9 MB, free: 4.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.1079, allocations: 1.323 MB / 493.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.108, allocations: 476.8 kB / 493.7 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.1091, allocations: 0.5855 MB / 494.3 MB, free: 1.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1402/0.2493, allocations: 6.144 MB / 0.4887 GB, free: 105.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.2537, allocations: 7.318 MB / 0.4959 GB, free: 98.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.705e-05/0.2538, allocations: 40.47 kB / 0.4959 GB, free: 98.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007577/0.2614, allocations: 5.12 MB / 0.5009 GB, free: 97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.2614, allocations: 61.72 kB / 0.501 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.196e-05/0.2615, allocations: 131.5 kB / 0.5011 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/0.2637, allocations: 0.7137 MB / 0.5018 GB, free: 96.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.2662, allocations: 1.319 MB / 0.5031 GB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.27, allocations: 3.645 MB / 0.5066 GB, free: 94.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.2726, allocations: 269.2 kB / 0.5069 GB, free: 94.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.2729, allocations: 316.2 kB / 0.5072 GB, free: 94.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (730): * Single equations (assignments): 726 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009211/0.2738, allocations: 0.6543 MB / 0.5078 GB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.2742, allocations: 355.1 kB / 0.5082 GB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.2772, allocations: 1.363 MB / 0.5095 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.2773, allocations: 19.61 kB / 0.5095 GB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2773, allocations: 8 kB / 0.5095 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2773, allocations: 7.453 kB / 0.5096 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006669/0.2839, allocations: 4.489 MB / 0.5139 GB, free: 90.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2839, allocations: 4 kB / 0.5139 GB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.2846, allocations: 201.9 kB / 0.5141 GB, free: 90.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.2865, allocations: 0.5369 MB / 0.5147 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.2866, allocations: 24 kB / 0.5147 GB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003149/0.2897, allocations: 3.225 MB / 0.5178 GB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2897, allocations: 4 kB / 0.5178 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.2929, allocations: 2.332 MB / 0.5201 GB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.2932, allocations: 294.2 kB / 0.5204 GB, free: 84.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.2935, allocations: 24 kB / 0.5204 GB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.2941, allocations: 39.75 kB / 0.5204 GB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.2942, allocations: 108.5 kB / 0.5206 GB, free: 84.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.2943, allocations: 32 kB / 0.5206 GB, free: 84.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008583/0.2951, allocations: 1.339 MB / 0.5219 GB, free: 82.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2951, allocations: 3.828 kB / 0.5219 GB, free: 82.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002858/0.298, allocations: 0.9584 MB / 0.5228 GB, free: 82.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (revolute.phi,revolute.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 (122): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002858/0.2983, allocations: 168.6 kB / 0.523 GB, free: 81.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.301, allocations: 2.826 MB / 0.5258 GB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.301, allocations: 0 / 0.5258 GB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.3016, allocations: 0.7264 MB / 0.5265 GB, free: 78.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3026, allocations: 351 kB / 0.5268 GB, free: 78.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.3087, allocations: 6.523 MB / 0.5332 GB, free: 71.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.3094, allocations: 1.107 MB / 0.5342 GB, free: 70.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000927/0.3103, allocations: 459.5 kB / 0.5347 GB, free: 69.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/0.3109, allocations: 0.5255 MB / 0.5352 GB, free: 69.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3109, allocations: 0 / 0.5352 GB, free: 69.38 MB / 410.7 MB Notification: Performance of Templates: time 0.03795/0.3488, allocations: 32.28 MB / 0.5667 GB, free: 37.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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.378400833811611]