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.001939/0.001939, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002059/0.002059, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.519/1.519, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2074/0.2074, allocations: 32.37 MB / 270 MB, free: 14.77 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.664e-06/1.664e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.63e-05, allocations: 2.312 kB / 346.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.008299/0.008325, allocations: 10.01 MB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008664/0.01699, allocations: 3.772 MB / 360.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.01852, allocations: 71.62 kB / 360.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.02343, allocations: 2.231 MB / 363 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.02834, allocations: 1.8 MB / 364.8 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.03025, allocations: 0.7678 MB / 365.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006805/0.03705, allocations: 4.182 MB / 369.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.04149, allocations: 2.507 MB / 372.3 MB, free: 312 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.04584, allocations: 1.992 MB / 374.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.0505, allocations: 2.042 MB / 376.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.05157, allocations: 272 kB / 376.6 MB, free: 12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.05433, allocations: 1.139 MB / 377.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.05687, allocations: 1.808 MB / 379.5 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.05873, allocations: 1.098 MB / 380.6 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009499/0.06823, allocations: 6.331 MB / 387 MB, free: 1.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.06823, allocations: 0 / 387 MB, free: 1.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.06824, allocations: 0 / 387 MB, free: 1.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001473/0.06838, allocations: 0 / 387 MB, free: 1.59 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.01134/0.07972, allocations: 4.998 MB / 392 MB, free: 12.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.07978, allocations: 12.03 kB / 392 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01921/0.09899, allocations: 2.912 MB / 394.9 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006829/0.1058, allocations: 2.259 MB / 397.1 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.106, allocations: 193.3 kB / 397.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007469/0.1068, allocations: 268.6 kB / 397.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.1199, allocations: 5.688 MB / 403.3 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.12, allocations: 43.69 kB / 403.3 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/0.1204, allocations: 119.9 kB / 403.4 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003364/0.1238, allocations: 1.739 MB / 405.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.135, allocations: 3.137 MB / 408.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05731/0.1923, allocations: 40.58 MB / 448.9 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1577/0.35, allocations: 1.955 MB / 450.9 MB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.352, allocations: 0.6247 MB / 451.5 MB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.3633, allocations: 4.74 MB / 456.2 MB, free: 101 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.3633, allocations: 52.98 kB / 456.3 MB, free: 101 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 4.438e-06/0.3633, allocations: 0 / 456.3 MB, free: 101 MB / 378.7 MB Notification: Performance of matching and sorting (n=188): time 0.04796/0.4113, allocations: 14.3 MB / 470.6 MB, free: 95.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.4114, allocations: 209.1 kB / 470.8 MB, free: 94.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/0.4159, allocations: 4.211 MB / 475 MB, free: 90.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.4162, allocations: 55.73 kB / 475 MB, free: 90.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.4176, allocations: 3.267 MB / 478.3 MB, free: 87.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007135/0.4183, allocations: 0.8087 MB / 479.1 MB, free: 86.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/0.4199, allocations: 1.517 MB / 480.6 MB, free: 85.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.42, allocations: 480.8 kB / 481.1 MB, free: 84.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.4215, allocations: 0.8198 MB / 481.9 MB, free: 83.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.4247, allocations: 6.323 MB / 488.2 MB, free: 75.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005666/0.4303, allocations: 7.858 MB / 496.1 MB, free: 64.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.4305, allocations: 36 kB / 496.1 MB, free: 64.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01305/0.4435, allocations: 6.4 MB / 0.4908 GB, free: 58.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.4436, allocations: 59.94 kB / 0.4908 GB, free: 58.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.465e-05/0.4437, allocations: 124 kB / 0.4909 GB, free: 58.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006202/0.4499, allocations: 1.513 MB / 0.4924 GB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/0.4537, allocations: 1.322 MB / 0.4937 GB, free: 55.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009255/0.463, allocations: 5.404 MB / 0.499 GB, free: 49.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/0.4674, allocations: 366.3 kB / 0.4993 GB, free: 49.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008142/0.4682, allocations: 356 kB / 0.4997 GB, free: 49.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (714): * Single equations (assignments): 710 * 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 {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001811/0.4701, allocations: 0.7278 MB / 0.5004 GB, free: 48.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007482/0.4708, allocations: 369.8 kB / 0.5007 GB, free: 48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007146/0.4779, allocations: 2.481 MB / 0.5032 GB, free: 45.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/0.478, allocations: 23.44 kB / 0.5032 GB, free: 45.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.478, allocations: 12 kB / 0.5032 GB, free: 45.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.478, allocations: 7.969 kB / 0.5032 GB, free: 45.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.4934, allocations: 6.589 MB / 0.5096 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/0.4934, allocations: 4 kB / 0.5096 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.4947, allocations: 247.6 kB / 0.5099 GB, free: 38.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/0.5006, allocations: 1.294 MB / 0.5111 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/0.5008, allocations: 32 kB / 0.5112 GB, free: 37.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008303/0.5091, allocations: 4.899 MB / 0.516 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5091, allocations: 3.938 kB / 0.516 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/0.5177, allocations: 3.689 MB / 0.5196 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/0.5195, allocations: 0.5289 MB / 0.5201 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/0.52, allocations: 32 kB / 0.5201 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.5216, allocations: 127.8 kB / 0.5202 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.5219, allocations: 113.1 kB / 0.5203 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.522, allocations: 48 kB / 0.5204 GB, free: 27.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002166/0.5242, allocations: 1.694 MB / 0.522 GB, free: 26.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5242, allocations: 0 / 0.522 GB, free: 26.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004229/0.5284, allocations: 1.085 MB / 0.5231 GB, free: 24.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004387/0.5289, allocations: 194.3 kB / 0.5233 GB, free: 24.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005392/0.5343, allocations: 3.625 MB / 0.5268 GB, free: 21.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5343, allocations: 64 / 0.5268 GB, free: 21.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.5358, allocations: 1.107 MB / 0.5279 GB, free: 19.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.5379, allocations: 343.9 kB / 0.5282 GB, free: 19.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5482, allocations: 6.892 MB / 0.535 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/0.5503, allocations: 2.201 MB / 0.5371 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003061/0.5534, allocations: 1.553 MB / 0.5386 GB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.5539, allocations: 216.5 kB / 0.5388 GB, free: 8.695 MB / 378.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5539, allocations: 0 / 0.5388 GB, free: 8.695 MB / 378.7 MB Notification: Performance of Templates: time 0.07002/0.6239, allocations: 35.44 MB / 0.5734 GB, free: 5.367 MB / 410.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.070929053938016]