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.001461/0.001461, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001348/0.001348, allocations: 171.3 kB / 24.84 MB, free: 8.926 MB / 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.9106/0.9106, allocations: 158.6 MB / 186.7 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.1336/0.1336, allocations: 32.38 MB / 271.5 MB, free: 14.54 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 2.484e-06/2.484e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.577e-05, allocations: 6.25 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.007035/0.007071, allocations: 9.854 MB / 358.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006789/0.01386, allocations: 3.764 MB / 362.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.01532, allocations: 71.62 kB / 362.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.0179, allocations: 2.196 MB / 364.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.02141, allocations: 1.816 MB / 366.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.02263, allocations: 0.7677 MB / 367.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.02685, allocations: 4.182 MB / 371.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.03, allocations: 2.5 MB / 374.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.03307, allocations: 2.311 MB / 376.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.0355, allocations: 2.03 MB / 378.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006819/0.03618, allocations: 272 kB / 378.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.03783, allocations: 1.147 MB / 379.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.03946, allocations: 1.815 MB / 381.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.04066, allocations: 1.09 MB / 382.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.04538, allocations: 4.293 MB / 387 MB, free: 2.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.04539, allocations: 0 / 387 MB, free: 2.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.04539, allocations: 0 / 387 MB, free: 2.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.0455, allocations: 3.938 kB / 387 MB, free: 2.895 MB / 314.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.006098/0.05159, allocations: 4.496 MB / 391.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.05164, allocations: 12.03 kB / 391.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007356/0.05899, allocations: 1.949 MB / 393.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.06184, allocations: 1.837 MB / 395.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/0.06212, allocations: 189.3 kB / 395.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/0.06253, allocations: 272.5 kB / 395.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.06891, allocations: 4.881 MB / 400.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.791e-05/0.069, allocations: 43.64 kB / 400.7 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.06925, allocations: 123.9 kB / 400.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/0.07108, allocations: 1.54 MB / 402.3 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.0759, allocations: 2.204 MB / 404.6 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.1064, allocations: 37.4 MB / 442 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/0.1102, allocations: 1.574 MB / 443.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.1109, allocations: 438.1 kB / 444 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005382/0.1162, allocations: 3.691 MB / 447.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1163, allocations: 54.33 kB / 447.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 3.366e-06/0.1163, allocations: 0 / 447.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.1535/0.2698, allocations: 8.325 MB / 456 MB, free: 99.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.2699, allocations: 201.5 kB / 456.2 MB, free: 99.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.2731, allocations: 3.392 MB / 459.6 MB, free: 98.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.2732, allocations: 53.61 kB / 459.7 MB, free: 98.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.2745, allocations: 3.173 MB / 462.8 MB, free: 97.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004258/0.2749, allocations: 0.7004 MB / 463.5 MB, free: 96.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/0.2777, allocations: 1.32 MB / 464.9 MB, free: 96.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.2778, allocations: 480.5 kB / 465.3 MB, free: 96.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.2788, allocations: 0.5861 MB / 465.9 MB, free: 96.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/0.2818, allocations: 6.143 MB / 472.1 MB, free: 88.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.2857, allocations: 7.314 MB / 479.4 MB, free: 81.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-05/0.2858, allocations: 36.84 kB / 479.4 MB, free: 81.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.006278/0.292, allocations: 5.121 MB / 484.5 MB, free: 77.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.2921, allocations: 60 kB / 484.6 MB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-05/0.2922, allocations: 140.1 kB / 484.7 MB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/0.294, allocations: 0.7151 MB / 485.4 MB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.296, allocations: 1.318 MB / 486.8 MB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.299, allocations: 3.644 MB / 490.4 MB, free: 71.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.3018, allocations: 263.7 kB / 490.7 MB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/0.3021, allocations: 312 kB / 491 MB, free: 71.41 MB / 378.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.001026/0.3031, allocations: 0.6552 MB / 491.6 MB, free: 70.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.3035, allocations: 361.9 kB / 492 MB, free: 70.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.3056, allocations: 1.365 MB / 493.3 MB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.3056, allocations: 25.59 kB / 493.4 MB, free: 69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3056, allocations: 8 kB / 493.4 MB, free: 68.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3056, allocations: 7.922 kB / 493.4 MB, free: 68.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006333/0.3119, allocations: 4.497 MB / 497.9 MB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.312, allocations: 0 / 497.9 MB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.3124, allocations: 203.7 kB / 498.1 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.3143, allocations: 0.5325 MB / 498.6 MB, free: 63.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.3144, allocations: 31.56 kB / 498.6 MB, free: 63.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.317, allocations: 3.226 MB / 0.4901 GB, free: 60.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.317, allocations: 0 / 0.4901 GB, free: 60.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.3197, allocations: 2.335 MB / 0.4924 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/0.3205, allocations: 437.6 kB / 0.4928 GB, free: 57.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.3207, allocations: 27.98 kB / 0.4928 GB, free: 57.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.3213, allocations: 35.98 kB / 0.4929 GB, free: 57.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.3214, allocations: 108.7 kB / 0.493 GB, free: 57.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.3215, allocations: 36 kB / 0.493 GB, free: 57.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3225, allocations: 1.347 MB / 0.4943 GB, free: 55.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3225, allocations: 0 / 0.4943 GB, free: 55.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003285/0.3258, allocations: 0.9842 MB / 0.4953 GB, free: 54.95 MB / 378.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.0003228/0.3262, allocations: 193.9 kB / 0.4955 GB, free: 54.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.3291, allocations: 2.825 MB / 0.4982 GB, free: 51.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3291, allocations: 12 kB / 0.4982 GB, free: 51.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.3296, allocations: 0.7284 MB / 0.4989 GB, free: 51.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3307, allocations: 345.9 kB / 0.4993 GB, free: 50.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.3374, allocations: 6.531 MB / 0.5056 GB, free: 44.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.3382, allocations: 1.096 MB / 0.5067 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009549/0.3391, allocations: 464.5 kB / 0.5072 GB, free: 42.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/0.3397, allocations: 0.5294 MB / 0.5077 GB, free: 42.12 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3397, allocations: 4 kB / 0.5077 GB, free: 42.12 MB / 378.7 MB Notification: Performance of Templates: time 0.03857/0.3782, allocations: 32.79 MB / 0.5397 GB, free: 9.434 MB / 378.7 MB " [Timeout remaining time 660] 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.43288109311834]