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.001325/0.001325, allocations: 76.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.001623/0.001623, allocations: 165.2 kB / 25.61 MB, free: 8.582 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.9524/0.9524, allocations: 177.2 MB / 206.1 MB, free: 4.5 MB / 186.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.1552/0.1552, allocations: 34.26 MB / 296.9 MB, free: 13.91 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.714e-06/1.714e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.635e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.006945/0.006971, allocations: 9.793 MB / 389.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.01267, allocations: 3.78 MB / 392.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.01411, allocations: 67.69 kB / 392.9 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.01637, allocations: 2.203 MB / 395.1 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.01942, allocations: 1.777 MB / 396.9 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.02053, allocations: 0.76 MB / 397.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.02408, allocations: 4.412 MB / 402.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.02697, allocations: 2.499 MB / 404.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.03008, allocations: 2.471 MB / 407.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.03234, allocations: 2.019 MB / 409.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.03288, allocations: 268 kB / 409.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.0344, allocations: 1.135 MB / 410.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.03564, allocations: 1.784 MB / 412.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.03692, allocations: 1.079 MB / 413.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.04149, allocations: 4.239 MB / 417.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.0415, allocations: 4 kB / 417.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.0415, allocations: 0 / 417.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.04162, allocations: 0 / 417.6 MB, free: 0.9297 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.006078/0.0477, allocations: 4.469 MB / 422 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.04774, allocations: 8.031 kB / 422 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007655/0.05539, allocations: 1.949 MB / 424 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.05873, allocations: 1.802 MB / 425.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.05887, allocations: 209.3 kB / 426 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/0.05949, allocations: 268.5 kB / 426.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007505/0.06699, allocations: 4.905 MB / 431.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.742e-05/0.06709, allocations: 43.67 kB / 431.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/0.06739, allocations: 119.9 kB / 431.3 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.06882, allocations: 1.536 MB / 432.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00478/0.0736, allocations: 2.2 MB / 435.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02535/0.09895, allocations: 37.41 MB / 472.5 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.1025, allocations: 1.579 MB / 474.1 MB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.103, allocations: 430.1 kB / 474.5 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004667/0.1076, allocations: 3.691 MB / 478.2 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1077, allocations: 54.39 kB / 478.2 MB, free: 1.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 3.597e-06/0.1077, allocations: 0 / 478.2 MB, free: 1.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=169): time 0.02049/0.1282, allocations: 8.252 MB / 486.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.1283, allocations: 200.9 kB / 486.7 MB, free: 9.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.1315, allocations: 3.372 MB / 490 MB, free: 5.957 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.1317, allocations: 53.7 kB / 490.1 MB, free: 5.898 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.1333, allocations: 3.154 MB / 493.2 MB, free: 2.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005762/0.1339, allocations: 0.7174 MB / 494 MB, free: 1.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.1351, allocations: 1.319 MB / 495.3 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1352, allocations: 480.8 kB / 495.7 MB, free: 184 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1593/0.2946, allocations: 0.5863 MB / 496.3 MB, free: 111.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.2975, allocations: 6.14 MB / 0.4907 GB, free: 104 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/0.3025, allocations: 7.315 MB / 0.4978 GB, free: 96.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.864e-05/0.3026, allocations: 40.75 kB / 0.4979 GB, free: 96.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.006684/0.3093, allocations: 5.118 MB / 0.5029 GB, free: 95.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.3094, allocations: 61.81 kB / 0.5029 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.3095, allocations: 127.8 kB / 0.5031 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.3113, allocations: 0.7247 MB / 0.5038 GB, free: 95.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.3133, allocations: 1.31 MB / 0.505 GB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.3163, allocations: 3.647 MB / 0.5086 GB, free: 93.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.3185, allocations: 266.7 kB / 0.5089 GB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/0.3188, allocations: 318.2 kB / 0.5092 GB, free: 92.62 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.001003/0.3198, allocations: 0.6579 MB / 0.5098 GB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.3202, allocations: 359.4 kB / 0.5102 GB, free: 92.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.3223, allocations: 1.357 MB / 0.5115 GB, free: 91.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.3223, allocations: 16 kB / 0.5115 GB, free: 91.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3223, allocations: 8.547 kB / 0.5115 GB, free: 91.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3223, allocations: 8.156 kB / 0.5115 GB, free: 91.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.3279, allocations: 4.484 MB / 0.5159 GB, free: 88.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3279, allocations: 6.016 kB / 0.5159 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.3284, allocations: 202.3 kB / 0.5161 GB, free: 88.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.3298, allocations: 0.5374 MB / 0.5166 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.3299, allocations: 27.31 kB / 0.5166 GB, free: 87.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.3325, allocations: 3.221 MB / 0.5198 GB, free: 84.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3325, allocations: 7.938 kB / 0.5198 GB, free: 84.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.3351, allocations: 2.335 MB / 0.5221 GB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.3355, allocations: 293.3 kB / 0.5223 GB, free: 82.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.3358, allocations: 24 kB / 0.5224 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.3363, allocations: 39.98 kB / 0.5224 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.3365, allocations: 108.3 kB / 0.5225 GB, free: 82.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.3366, allocations: 35.98 kB / 0.5225 GB, free: 82.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.3377, allocations: 1.337 MB / 0.5239 GB, free: 80.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3377, allocations: 4.031 kB / 0.5239 GB, free: 80.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003418/0.3411, allocations: 0.9515 MB / 0.5248 GB, free: 80 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.0003285/0.3414, allocations: 175.2 kB / 0.525 GB, free: 79.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.3443, allocations: 2.822 MB / 0.5277 GB, free: 77.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3443, allocations: 0 / 0.5277 GB, free: 77.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.3449, allocations: 0.7295 MB / 0.5284 GB, free: 76.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.346, allocations: 360.2 kB / 0.5288 GB, free: 76.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/0.3526, allocations: 6.523 MB / 0.5351 GB, free: 69.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.3534, allocations: 1.1 MB / 0.5362 GB, free: 68.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.3544, allocations: 458.2 kB / 0.5366 GB, free: 67.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.355, allocations: 0.5255 MB / 0.5372 GB, free: 67.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.355, allocations: 0 / 0.5372 GB, free: 67.35 MB / 410.7 MB Notification: Performance of Templates: time 0.04312/0.3981, allocations: 32.29 MB / 0.5687 GB, free: 35.57 MB / 410.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 -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: 4.3409427353180945]