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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 106.4 kB / 18.32 MB, free: 3.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 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.507/1.507, allocations: 207.6 MB / 232.1 MB, free: 3.172 MB / 174.1 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.3484/0.3484, allocations: 44.23 MB / 328.4 MB, free: 6.227 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 74.75 kB / 465.5 MB, free: 45.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1409, allocations: 61 MB / 0.5142 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01085/0.1517, allocations: 10.48 MB / 0.5244 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009165/0.1609, allocations: 3.912 MB / 0.5283 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.1633, allocations: 59.81 kB / 0.5283 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005019/0.1683, allocations: 2.106 MB / 0.5304 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005903/0.1742, allocations: 1.747 MB / 0.5321 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.1766, allocations: 0.6939 MB / 0.5328 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006842/0.1835, allocations: 3.822 MB / 0.5365 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.1867, allocations: 1.953 MB / 0.5384 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.1899, allocations: 1.316 MB / 0.5397 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.1944, allocations: 2.013 MB / 0.5416 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.1956, allocations: 268 kB / 0.5419 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.1987, allocations: 1.217 MB / 0.5431 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.2013, allocations: 1.729 MB / 0.5448 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003186/0.2045, allocations: 1.899 MB / 0.5466 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.216, allocations: 6.241 MB / 0.5527 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.216, allocations: 0 / 0.5527 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.216, allocations: 0 / 0.5527 GB, free: 5.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003579/0.2163, allocations: 0 / 0.5527 GB, free: 5.598 MB / 414.1 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.01263/0.229, allocations: 4.347 MB / 0.557 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.229, allocations: 15.84 kB / 0.557 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.2448, allocations: 2.452 MB / 0.5594 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007006/0.2518, allocations: 2.5 MB / 0.5618 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.252, allocations: 193.3 kB / 0.562 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000913/0.2529, allocations: 275.9 kB / 0.5623 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.2703, allocations: 8.583 MB / 0.5707 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.2704, allocations: 39.7 kB / 0.5707 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/0.2708, allocations: 123.9 kB / 0.5708 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003059/0.2739, allocations: 1.739 MB / 0.5725 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.2903, allocations: 7.284 MB / 0.5796 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/0.3437, allocations: 34.1 MB / 0.6129 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009314/0.353, allocations: 3.345 MB / 0.6162 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/0.3557, allocations: 1.588 MB / 0.6177 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/0.3701, allocations: 7.437 MB / 0.625 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.3702, allocations: 59.48 kB / 0.6251 GB, free: 9.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 4.679e-06/0.3702, allocations: 0 / 0.6251 GB, free: 9.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.06758/0.4377, allocations: 19.8 MB / 0.6444 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.4379, allocations: 201.2 kB / 0.6446 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/0.4456, allocations: 3.759 MB / 0.6483 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004926/0.4461, allocations: 53.7 kB / 0.6483 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.347/0.7932, allocations: 2.908 MB / 0.6511 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.7944, allocations: 0.7506 MB / 0.6519 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/0.7967, allocations: 1.213 MB / 0.6531 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.7968, allocations: 302.8 kB / 0.6534 GB, free: 120 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/0.8012, allocations: 2.199 MB / 0.6555 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006309/0.8075, allocations: 5.769 MB / 0.6611 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0094/0.8169, allocations: 8.589 MB / 0.6695 GB, free: 107 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/0.817, allocations: 36.22 kB / 0.6696 GB, free: 107 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01717/0.8341, allocations: 9.167 MB / 0.6785 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.8342, allocations: 62.41 kB / 0.6786 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/0.8343, allocations: 131.7 kB / 0.6787 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004811/0.8392, allocations: 1.662 MB / 0.6803 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/0.8431, allocations: 1.317 MB / 0.6816 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.8552, allocations: 9.914 MB / 0.6913 GB, free: 91.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006072/0.8613, allocations: 316.3 kB / 0.6916 GB, free: 91.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/0.8627, allocations: 368.5 kB / 0.6919 GB, free: 91 MB / 0.4981 GB 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.003655/0.8664, allocations: 1.904 MB / 0.6938 GB, free: 89.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008639/0.8672, allocations: 341.7 kB / 0.6941 GB, free: 88.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008074/0.8753, allocations: 4.102 MB / 0.6981 GB, free: 84.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/0.8753, allocations: 21.03 kB / 0.6981 GB, free: 84.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.8753, allocations: 8 kB / 0.6982 GB, free: 84.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.8754, allocations: 14.8 kB / 0.6982 GB, free: 84.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.8902, allocations: 8.494 MB / 0.7065 GB, free: 76.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.8902, allocations: 0 / 0.7065 GB, free: 76.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.8913, allocations: 251.6 kB / 0.7067 GB, free: 75.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004451/0.8958, allocations: 1.429 MB / 0.7081 GB, free: 74.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.896, allocations: 43.89 kB / 0.7081 GB, free: 74.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.9068, allocations: 9.22 MB / 0.7171 GB, free: 65.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9068, allocations: 3.984 kB / 0.7172 GB, free: 65.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.9169, allocations: 6.72 MB / 0.7237 GB, free: 58.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.9183, allocations: 0.636 MB / 0.7243 GB, free: 57.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000766/0.9191, allocations: 35.98 kB / 0.7244 GB, free: 57.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.9208, allocations: 89.02 kB / 0.7245 GB, free: 57.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.9212, allocations: 117.1 kB / 0.7246 GB, free: 57.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.9213, allocations: 59.81 kB / 0.7246 GB, free: 57.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00365/0.925, allocations: 2.324 MB / 0.7269 GB, free: 55.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.925, allocations: 0 / 0.7269 GB, free: 55.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005169/0.9302, allocations: 0.9967 MB / 0.7279 GB, free: 54.13 MB / 0.4981 GB 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.0004575/0.9306, allocations: 167 kB / 0.728 GB, free: 53.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007097/0.9377, allocations: 5.203 MB / 0.7331 GB, free: 48.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9377, allocations: 0 / 0.7331 GB, free: 48.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.9399, allocations: 1.671 MB / 0.7347 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.9433, allocations: 382.2 kB / 0.7351 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.9601, allocations: 8.746 MB / 0.7436 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004816/0.9649, allocations: 2.977 MB / 0.7465 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004294/0.9692, allocations: 1.806 MB / 0.7483 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/0.97, allocations: 223.4 kB / 0.7485 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.123e-06/0.97, allocations: 7.938 kB / 0.7485 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.06962/1.04, allocations: 38.29 MB / 0.7859 GB, free: 10.74 MB / 0.5137 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] 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.488415467552841]