Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007687/0.0007687, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001831, 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.0007084/0.0007084, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008572/0.001566, 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 0.9704/0.9704, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1301/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0252/0.2865, allocations: 13.09 MB / 291.3 MB, free: 7.379 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.472e-05, allocations: 2.312 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01162/0.01164, allocations: 9.924 MB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008832/0.02048, allocations: 3.949 MB / 306.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.02244, allocations: 71.62 kB / 306.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.02621, allocations: 2.114 MB / 308.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.03124, allocations: 1.753 MB / 310.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.03281, allocations: 0.7093 MB / 311.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005556/0.03837, allocations: 4.14 MB / 315.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.0419, allocations: 2.281 MB / 317.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.04567, allocations: 2.389 MB / 320 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.04862, allocations: 1.909 MB / 321.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000724/0.04935, allocations: 272 kB / 322.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.05153, allocations: 1.166 MB / 323.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.05345, allocations: 1.601 MB / 324.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.05486, allocations: 0.8801 MB / 325.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.06318, allocations: 3.896 MB / 329.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.0632, allocations: 0 / 329.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0632, allocations: 4 kB / 329.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001977/0.0634, allocations: 0 / 329.7 MB, free: 1.055 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.01254/0.07594, allocations: 4.765 MB / 334.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.07597, allocations: 15.97 kB / 334.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.07915, allocations: 1.113 MB / 335.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.08183, allocations: 1.673 MB / 337.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.08193, allocations: 197.3 kB / 337.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.08227, allocations: 272.5 kB / 337.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004939/0.08721, allocations: 4.35 MB / 342.1 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.483e-05/0.0873, allocations: 43.62 kB / 342.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.08753, allocations: 127.9 kB / 342.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001671/0.0892, allocations: 1.548 MB / 343.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.09312, allocations: 2.161 MB / 345.9 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/0.1152, allocations: 26.82 MB / 372.8 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.1181, allocations: 1.441 MB / 374.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.1185, allocations: 343 kB / 374.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00457/0.1231, allocations: 3.43 MB / 378 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1231, allocations: 51.5 kB / 378 MB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 3.536e-06/0.1231, allocations: 0 / 378 MB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01679/0.1399, allocations: 7.234 MB / 385.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.14, allocations: 149.4 kB / 385.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.143, allocations: 3.014 MB / 388.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.1431, allocations: 49.7 kB / 388.5 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.1444, allocations: 2.806 MB / 391.3 MB, free: 1.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.1449, allocations: 0.6745 MB / 391.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.1459, allocations: 1.128 MB / 393.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.146, allocations: 305.1 kB / 393.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.1478, allocations: 0.766 MB / 394.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.151, allocations: 4.36 MB / 398.5 MB, free: 8.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005013/0.1561, allocations: 5.596 MB / 404.1 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.059e-05/0.1561, allocations: 40 kB / 404.1 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007333/0.1635, allocations: 4.36 MB / 408.5 MB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.1635, allocations: 63.94 kB / 408.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.1637, allocations: 128 kB / 408.7 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.1658, allocations: 0.7265 MB / 409.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/0.1692, allocations: 1.462 MB / 410.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.1736, allocations: 2.99 MB / 413.9 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.1769, allocations: 263.7 kB / 414.1 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/0.1773, allocations: 316 kB / 414.4 MB, free: 6.426 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.00123/0.1786, allocations: 0.6107 MB / 415 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.179, allocations: 203.8 kB / 415.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.1816, allocations: 1.215 MB / 416.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.1816, allocations: 16 kB / 416.5 MB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.1817, allocations: 8 kB / 416.5 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.1817, allocations: 11.91 kB / 416.5 MB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.1887, allocations: 3.784 MB / 420.3 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.1887, allocations: 8.219 kB / 420.3 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/0.1895, allocations: 239.7 kB / 420.5 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.19, allocations: 285.8 kB / 420.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.1921, allocations: 0.6937 MB / 421.5 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.1922, allocations: 24 kB / 421.5 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.1957, allocations: 2.583 MB / 424.1 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1957, allocations: 11.88 kB / 424.1 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.199, allocations: 1.989 MB / 426.1 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/0.1995, allocations: 28.03 kB / 426.1 MB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.2003, allocations: 39.98 kB / 426.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/0.2008, allocations: 108.7 kB / 426.3 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.2008, allocations: 35.98 kB / 426.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001385/0.2022, allocations: 1.078 MB / 427.4 MB, free: 9.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2022, allocations: 0 / 427.4 MB, free: 9.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003749/0.206, allocations: 0.953 MB / 428.3 MB, free: 8.266 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.0003487/0.2063, allocations: 164 kB / 428.5 MB, free: 8.098 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003489/0.2098, allocations: 2.559 MB / 431 MB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000216/0.21, allocations: 106.9 kB / 431.1 MB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008108/0.2108, allocations: 0.6054 MB / 431.8 MB, free: 4.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.2124, allocations: 0.7129 MB / 432.5 MB, free: 4.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1476/0.36, allocations: 6.566 MB / 439 MB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/0.3609, allocations: 1.091 MB / 440.1 MB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001247/0.3622, allocations: 460.6 kB / 440.6 MB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.3628, allocations: 0.5044 MB / 441.1 MB, free: 119.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.754e-06/0.3628, allocations: 0 / 441.1 MB, free: 119.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04161/0.4044, allocations: 32.04 MB / 473.1 MB, free: 98.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.8393945144489408]