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.001835/0.001835, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001945/0.001945, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3612/0.3612, allocations: 34.25 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.422e-06/1.422e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.084e-05, allocations: 6.25 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01397/0.014, allocations: 9.973 MB / 387.3 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00903/0.02303, allocations: 3.779 MB / 391.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.02426, allocations: 71.69 kB / 391.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004652/0.02891, allocations: 2.215 MB / 393.3 MB, free: 2.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.03358, allocations: 1.777 MB / 395.1 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.03533, allocations: 0.7638 MB / 395.9 MB, free: 292 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006276/0.04161, allocations: 4.4 MB / 400.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.04508, allocations: 2.503 MB / 402.8 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.0481, allocations: 1.972 MB / 404.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003449/0.05155, allocations: 2.03 MB / 406.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006421/0.05219, allocations: 272 kB / 407 MB, free: 5.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.0545, allocations: 1.135 MB / 408.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.05675, allocations: 1.784 MB / 410 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.05845, allocations: 1.075 MB / 411 MB, free: 1.039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008984/0.06743, allocations: 6.269 MB / 417.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.06744, allocations: 4 kB / 417.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.06744, allocations: 0 / 417.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000195/0.06764, allocations: 0 / 417.3 MB, free: 10.75 MB / 394.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.01167/0.0793, allocations: 4.965 MB / 422.3 MB, free: 5.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.07934, allocations: 12.03 kB / 422.3 MB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/0.09816, allocations: 2.924 MB / 425.2 MB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008384/0.1065, allocations: 2.223 MB / 427.4 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.1068, allocations: 193.3 kB / 427.6 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.1078, allocations: 280.5 kB / 427.9 MB, free: 40 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.1226, allocations: 5.698 MB / 433.6 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.1228, allocations: 31.7 kB / 433.6 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004731/0.1233, allocations: 127.9 kB / 433.8 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003528/0.1268, allocations: 1.743 MB / 435.5 MB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.1382, allocations: 3.133 MB / 438.6 MB, free: 4.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2054/0.3436, allocations: 40.61 MB / 479.2 MB, free: 62.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/0.3506, allocations: 1.972 MB / 481.2 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3518, allocations: 0.6363 MB / 481.9 MB, free: 62.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009647/0.3614, allocations: 4.733 MB / 486.6 MB, free: 59.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3615, allocations: 63.22 kB / 486.6 MB, free: 59.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 4.158e-06/0.3615, allocations: 3.75 kB / 486.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.04994/0.4114, allocations: 14.25 MB / 0.4892 GB, free: 55.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.4115, allocations: 207 kB / 0.4894 GB, free: 55.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/0.4167, allocations: 4.101 MB / 0.4934 GB, free: 53.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.417, allocations: 51.2 kB / 0.4934 GB, free: 53.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.4186, allocations: 3.263 MB / 0.4966 GB, free: 50.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000736/0.4194, allocations: 0.8172 MB / 0.4974 GB, free: 50.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.421, allocations: 1.506 MB / 0.4989 GB, free: 49.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.4211, allocations: 480.7 kB / 0.4993 GB, free: 49.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.4227, allocations: 0.8202 MB / 0.5001 GB, free: 48.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/0.4262, allocations: 6.336 MB / 0.5063 GB, free: 41.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006739/0.4329, allocations: 7.868 MB / 0.514 GB, free: 33.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/0.4331, allocations: 36.75 kB / 0.514 GB, free: 33.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01449/0.4476, allocations: 6.399 MB / 0.5203 GB, free: 28.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/0.4476, allocations: 56.75 kB / 0.5203 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.4478, allocations: 124 kB / 0.5205 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006697/0.4545, allocations: 1.509 MB / 0.5219 GB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/0.4585, allocations: 1.327 MB / 0.5232 GB, free: 25.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.4678, allocations: 5.426 MB / 0.5285 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/0.4722, allocations: 359.3 kB / 0.5289 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005793/0.4727, allocations: 355.8 kB / 0.5292 GB, free: 20.2 MB / 410.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.001599/0.4743, allocations: 0.7184 MB / 0.5299 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006522/0.475, allocations: 369.8 kB / 0.5303 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007293/0.4823, allocations: 2.489 MB / 0.5327 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.4823, allocations: 20 kB / 0.5327 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.4823, allocations: 8 kB / 0.5327 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4823, allocations: 6.891 kB / 0.5327 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.4975, allocations: 6.539 MB / 0.5391 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.4975, allocations: 0 / 0.5391 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.4987, allocations: 255.6 kB / 0.5394 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006094/0.5048, allocations: 1.292 MB / 0.5406 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.505, allocations: 35.92 kB / 0.5406 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008421/0.5134, allocations: 4.882 MB / 0.5454 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5135, allocations: 3.312 kB / 0.5454 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008851/0.5223, allocations: 3.697 MB / 0.549 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.5234, allocations: 299.9 kB / 0.5493 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004057/0.5238, allocations: 28 kB / 0.5493 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.5253, allocations: 127.8 kB / 0.5495 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.5256, allocations: 117 kB / 0.5496 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.5257, allocations: 52.02 kB / 0.5496 GB, free: 148 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00336/0.5291, allocations: 1.674 MB / 0.5513 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5291, allocations: 0 / 0.5513 GB, free: 14.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005882/0.535, allocations: 1.05 MB / 0.5523 GB, free: 13.43 MB / 426.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.0005216/0.5355, allocations: 178.3 kB / 0.5525 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008017/0.5435, allocations: 3.641 MB / 0.556 GB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5435, allocations: 4 kB / 0.556 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.5457, allocations: 1.086 MB / 0.5571 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.5481, allocations: 344.2 kB / 0.5574 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.5629, allocations: 6.889 MB / 0.5641 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/0.5664, allocations: 2.199 MB / 0.5663 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004454/0.5708, allocations: 1.543 MB / 0.5678 GB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/0.5716, allocations: 212.5 kB / 0.568 GB, free: 13.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.674e-06/0.5716, allocations: 0 / 0.568 GB, free: 13.22 MB / 442.7 MB Notification: Performance of Templates: time 0.07692/0.6485, allocations: 35 MB / 0.6022 GB, free: 10.72 MB / 474.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.182611093041487]