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.001291/0.001291, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001982/0.003273, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001105/0.001105, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002499, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.068/1.068, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1144/1.182, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.346/0.346, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03243/0.3784, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.723e-06/1.723e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.599e-05, allocations: 2.312 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01016/0.01018, allocations: 9.928 MB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008462/0.01865, allocations: 3.945 MB / 304.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.02084, allocations: 71.62 kB / 304.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.02405, allocations: 2.114 MB / 306.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.02933, allocations: 1.757 MB / 308.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.03099, allocations: 0.7132 MB / 309.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005969/0.03696, allocations: 4.135 MB / 313.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004604/0.04157, allocations: 2.278 MB / 315.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.04649, allocations: 2.389 MB / 317.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.04935, allocations: 1.917 MB / 319.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006446/0.05, allocations: 272 kB / 320.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.05203, allocations: 1.162 MB / 321.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.05428, allocations: 1.601 MB / 322.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.05554, allocations: 0.8801 MB / 323.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.06189, allocations: 3.892 MB / 327.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-05/0.06191, allocations: 0 / 327.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.06191, allocations: 0 / 327.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002074/0.06212, allocations: 0 / 327.7 MB, free: 3.059 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.008491/0.07061, allocations: 4.776 MB / 332.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.07068, allocations: 12.03 kB / 332.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/0.07442, allocations: 1.105 MB / 333.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.07734, allocations: 1.681 MB / 335.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.07747, allocations: 197.3 kB / 335.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/0.07792, allocations: 272.5 kB / 335.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006609/0.08453, allocations: 4.35 MB / 340 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-05/0.08463, allocations: 43.59 kB / 340.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.08487, allocations: 131.9 kB / 340.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/0.08633, allocations: 1.54 MB / 341.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/0.09241, allocations: 2.168 MB / 343.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.1219, allocations: 26.81 MB / 370.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.1255, allocations: 1.429 MB / 372.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.1261, allocations: 343 kB / 372.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005776/0.1318, allocations: 3.434 MB / 375.9 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.1319, allocations: 55.56 kB / 376 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=137): time 5.641e-06/0.1319, allocations: 0 / 376 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=169): time 0.01941/0.1513, allocations: 7.241 MB / 383.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.1514, allocations: 149.5 kB / 383.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.1551, allocations: 3.01 MB / 386.4 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.1553, allocations: 49.7 kB / 386.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.1567, allocations: 2.802 MB / 389.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000697/0.1574, allocations: 0.6745 MB / 389.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.1584, allocations: 1.136 MB / 391 MB, free: 1.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.1585, allocations: 301.1 kB / 391.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.1598, allocations: 0.766 MB / 392.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.1632, allocations: 4.364 MB / 396.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00629/0.1695, allocations: 5.594 MB / 402.1 MB, free: 2.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/0.1696, allocations: 36 kB / 402.1 MB, free: 2.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.00964/0.1793, allocations: 4.372 MB / 406.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/0.1793, allocations: 63.94 kB / 406.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.1795, allocations: 135.9 kB / 406.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.1814, allocations: 0.7073 MB / 407.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.1846, allocations: 1.466 MB / 408.8 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004383/0.1889, allocations: 2.983 MB / 411.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.1927, allocations: 267.7 kB / 412.1 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006022/0.1933, allocations: 320 kB / 412.4 MB, free: 8.43 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.001626/0.1949, allocations: 0.6107 MB / 413 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/0.1955, allocations: 203.8 kB / 413.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.1978, allocations: 1.211 MB / 414.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/0.1978, allocations: 23.92 kB / 414.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.1978, allocations: 12 kB / 414.5 MB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.1979, allocations: 11.91 kB / 414.5 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.2045, allocations: 3.784 MB / 418.2 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.2045, allocations: 8 kB / 418.3 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.2056, allocations: 235.7 kB / 418.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.2066, allocations: 281.7 kB / 418.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.2086, allocations: 0.6978 MB / 419.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.2087, allocations: 28 kB / 419.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.2119, allocations: 2.591 MB / 422.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2119, allocations: 0 / 422.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.2156, allocations: 1.987 MB / 424.1 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008181/0.2164, allocations: 28 kB / 424.1 MB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.2171, allocations: 43.91 kB / 424.1 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.2173, allocations: 100.8 kB / 424.2 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/0.2174, allocations: 39.98 kB / 424.3 MB, free: 12.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001624/0.219, allocations: 1.071 MB / 425.3 MB, free: 11.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.219, allocations: 0 / 425.3 MB, free: 11.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005208/0.2242, allocations: 0.9608 MB / 426.3 MB, free: 10.27 MB / 426.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.0005732/0.2248, allocations: 160.1 kB / 426.5 MB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.2295, allocations: 2.56 MB / 429 MB, free: 7.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002921/0.2298, allocations: 106.8 kB / 429.1 MB, free: 7.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008913/0.2307, allocations: 0.5939 MB / 429.7 MB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.2334, allocations: 0.7207 MB / 430.4 MB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2116/0.445, allocations: 6.579 MB / 437 MB, free: 121.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.4475, allocations: 1.094 MB / 438.1 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001813/0.4493, allocations: 454.3 kB / 438.6 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/0.4501, allocations: 0.4895 MB / 439 MB, free: 121.6 MB / 426.7 MB Notification: Performance of SimCode: time 3.076e-06/0.4501, allocations: 0 / 439 MB, free: 121.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05295/0.5031, allocations: 32.04 MB / 471.1 MB, free: 101.3 MB / 426.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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.6632307367399335]