Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00139/0.00139, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00179/0.00179, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8744/0.8744, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1505/0.1505, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.416e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1524/0.1524, allocations: 9.839 MB / 308.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006923/0.1593, allocations: 3.895 MB / 312.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.1604, allocations: 68.66 kB / 312.9 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.1629, allocations: 2.229 MB / 315.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.1661, allocations: 1.839 MB / 316.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1672, allocations: 0.771 MB / 317.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.1713, allocations: 4.165 MB / 321.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.1732, allocations: 2.595 MB / 324.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.1751, allocations: 2.304 MB / 326.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.1766, allocations: 1.925 MB / 328.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.1769, allocations: 272 kB / 329 MB, free: 244 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.1782, allocations: 1.131 MB / 330.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.1793, allocations: 1.815 MB / 331.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1803, allocations: 1.094 MB / 333 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.1838, allocations: 4.289 MB / 337.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1838, allocations: 0 / 337.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1838, allocations: 8 kB / 337.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.747e-05/0.1839, allocations: 0 / 337.3 MB, free: 7.875 MB / 298.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.004289/0.1882, allocations: 3.973 MB / 341.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1882, allocations: 11.97 kB / 341.3 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.1913, allocations: 1.109 MB / 342.4 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.1933, allocations: 1.705 MB / 344.1 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/0.1934, allocations: 193.3 kB / 344.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/0.1938, allocations: 269.6 kB / 344.6 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.1981, allocations: 4.33 MB / 348.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.519e-05/0.1982, allocations: 39.7 kB / 348.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.1984, allocations: 127.9 kB / 349.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/0.1997, allocations: 1.528 MB / 350.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.2033, allocations: 2.168 MB / 352.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02017/0.2235, allocations: 26.83 MB / 379.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.2264, allocations: 1.439 MB / 381 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.2268, allocations: 346.9 kB / 381.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004783/0.2316, allocations: 3.466 MB / 384.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2316, allocations: 47.5 kB / 384.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=137): time 2.825e-06/0.2316, allocations: 0 / 384.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=169): time 0.01715/0.2488, allocations: 7.337 MB / 392.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.2489, allocations: 204.9 kB / 392.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.2517, allocations: 3.023 MB / 395.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.2518, allocations: 49.7 kB / 395.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.2532, allocations: 2.818 MB / 398.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.2537, allocations: 0.6745 MB / 399 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009119/0.2546, allocations: 1.124 MB / 400.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.2546, allocations: 305.1 kB / 400.4 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.2558, allocations: 0.7621 MB / 401.2 MB, free: 5.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/0.2587, allocations: 4.36 MB / 405.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.2633, allocations: 5.598 MB / 411.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-05/0.2633, allocations: 40 kB / 411.2 MB, free: 8.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007358/0.2707, allocations: 4.364 MB / 415.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.2708, allocations: 67.94 kB / 415.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/0.2709, allocations: 132 kB / 415.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.2735, allocations: 0.7148 MB / 416.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/0.2771, allocations: 1.306 MB / 417.7 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/0.2819, allocations: 2.981 MB / 420.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.2858, allocations: 263.8 kB / 421 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.2861, allocations: 316 kB / 421.3 MB, free: 14.05 MB / 394.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.001089/0.2872, allocations: 0.6107 MB / 421.9 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.2875, allocations: 207.8 kB / 422.1 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.2898, allocations: 1.215 MB / 423.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.2898, allocations: 20 kB / 423.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2898, allocations: 4 kB / 423.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.2899, allocations: 11.92 kB / 423.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007652/0.2975, allocations: 3.803 MB / 427.1 MB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.2975, allocations: 4 kB / 427.2 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/0.2982, allocations: 199.7 kB / 427.3 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.3006, allocations: 0.6998 MB / 428 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.864e-05/0.3007, allocations: 24 kB / 428.1 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/0.3042, allocations: 2.581 MB / 430.7 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3042, allocations: 11.97 kB / 430.7 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.3077, allocations: 1.979 MB / 432.6 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/0.3085, allocations: 401.7 kB / 433 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.3088, allocations: 31.98 kB / 433.1 MB, free: 2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.3096, allocations: 32 kB / 433.1 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.3098, allocations: 100.7 kB / 433.2 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.3098, allocations: 39.94 kB / 433.2 MB, free: 1.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.3111, allocations: 1.087 MB / 434.3 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3111, allocations: 4.031 kB / 434.3 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005059/0.3161, allocations: 0.9842 MB / 435.3 MB, free: 15.75 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.0004136/0.3165, allocations: 172 kB / 435.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003683/0.3202, allocations: 2.554 MB / 438 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001864/0.3204, allocations: 96.16 kB / 438.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.3211, allocations: 0.6049 MB / 438.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.3233, allocations: 0.5133 MB / 439.2 MB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.333, allocations: 6.469 MB / 445.7 MB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.3342, allocations: 1.088 MB / 446.8 MB, free: 4.125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001538/0.3357, allocations: 466.3 kB / 447.3 MB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/0.3366, allocations: 0.4895 MB / 447.7 MB, free: 3.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3366, allocations: 0 / 447.7 MB, free: 3.18 MB / 410.7 MB Notification: Performance of Templates: time 0.1757/0.5123, allocations: 31.98 MB / 479.7 MB, free: 134 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.236943345982581]