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.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001542/0.001542, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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.2354/0.2354, allocations: 46.95 MB / 360.9 MB, free: 4.02 MB / 286.1 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 0.002081/0.002081, allocations: 71.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 66.03 MB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01244/0.3643, allocations: 9.103 MB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008476/0.3728, allocations: 3.692 MB / 0.5736 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.3744, allocations: 71.69 kB / 0.5736 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.3789, allocations: 2.024 MB / 0.5756 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.384, allocations: 1.728 MB / 0.5773 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.3859, allocations: 0.6979 MB / 0.578 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006416/0.3923, allocations: 4.012 MB / 0.5819 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.3957, allocations: 2.155 MB / 0.584 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.3981, allocations: 1.328 MB / 0.5853 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.4015, allocations: 2.005 MB / 0.5873 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008648/0.4024, allocations: 264 kB / 0.5875 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.405, allocations: 1.096 MB / 0.5886 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.4071, allocations: 1.706 MB / 0.5903 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.4092, allocations: 1.39 MB / 0.5916 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007534/0.4167, allocations: 6.198 MB / 0.5977 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4167, allocations: 3.984 kB / 0.5977 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4167, allocations: 8 kB / 0.5977 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001517/0.4169, allocations: 0 / 0.5977 GB, free: 14.48 MB / 446.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.009068/0.4259, allocations: 4.233 MB / 0.6018 GB, free: 10.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.426, allocations: 12.03 kB / 0.6018 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.4413, allocations: 2.459 MB / 0.6042 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006737/0.4481, allocations: 2.346 MB / 0.6065 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.4482, allocations: 201.2 kB / 0.6067 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008902/0.4491, allocations: 279.9 kB / 0.607 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.4643, allocations: 8.666 MB / 0.6154 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.4645, allocations: 39.64 kB / 0.6155 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/0.4648, allocations: 127.9 kB / 0.6156 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003122/0.4679, allocations: 1.735 MB / 0.6173 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.482, allocations: 7.287 MB / 0.6244 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/0.5297, allocations: 31.58 MB / 0.6552 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008992/0.5387, allocations: 2.891 MB / 0.6581 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/0.5413, allocations: 1.591 MB / 0.6596 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/0.5548, allocations: 6.097 MB / 0.6656 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.5548, allocations: 51.5 kB / 0.6656 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.228e-06/0.5548, allocations: 0 / 0.6656 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06831/0.6232, allocations: 19.53 MB / 0.6847 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.6233, allocations: 209.2 kB / 0.6849 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/0.6288, allocations: 3.558 MB / 0.6884 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.629, allocations: 53.7 kB / 0.6884 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.6314, allocations: 2.934 MB / 0.6913 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008667/0.6322, allocations: 0.752 MB / 0.692 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/0.6342, allocations: 1.215 MB / 0.6932 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6344, allocations: 301.1 kB / 0.6935 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00363/0.638, allocations: 2.206 MB / 0.6957 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006742/0.6447, allocations: 5.828 MB / 0.7013 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.6564, allocations: 8.606 MB / 0.7097 GB, free: 6.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001504/0.6566, allocations: 40 kB / 0.7098 GB, free: 6.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02273/0.6793, allocations: 9.145 MB / 0.7187 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.6795, allocations: 64.25 kB / 0.7188 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002326/0.6797, allocations: 124 kB / 0.7189 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006403/0.6861, allocations: 1.657 MB / 0.7205 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/0.6908, allocations: 1.326 MB / 0.7218 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.707, allocations: 9.68 MB / 0.7313 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2774/0.9843, allocations: 315 kB / 0.7316 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/0.986, allocations: 363.2 kB / 0.7319 GB, free: 151 MB / 0.5606 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.004449/0.9905, allocations: 1.89 MB / 0.7338 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007787/0.9913, allocations: 320.5 kB / 0.7341 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008606/0.9999, allocations: 4.094 MB / 0.7381 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/0.9999, allocations: 27.8 kB / 0.7381 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.9999, allocations: 7.875 kB / 0.7381 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/0.9999, allocations: 7.641 kB / 0.7381 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/1.015, allocations: 7.487 MB / 0.7454 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/1.016, allocations: 4.125 kB / 0.7454 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.017, allocations: 251.6 kB / 0.7457 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004917/1.022, allocations: 1.439 MB / 0.7471 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/1.022, allocations: 35.52 kB / 0.7471 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.034, allocations: 8.968 MB / 0.7559 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.034, allocations: 0 / 0.7559 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.045, allocations: 6.719 MB / 0.7624 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.046, allocations: 281.9 kB / 0.7627 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009734/1.047, allocations: 28 kB / 0.7627 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.049, allocations: 96.22 kB / 0.7628 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/1.049, allocations: 121 kB / 0.7629 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.049, allocations: 55.59 kB / 0.763 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003552/1.053, allocations: 2.044 MB / 0.765 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 0.765 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005621/1.059, allocations: 0.9697 MB / 0.7659 GB, free: 130.9 MB / 0.5606 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.0005571/1.059, allocations: 156.3 kB / 0.7661 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007988/1.067, allocations: 5.217 MB / 0.7712 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.067, allocations: 0 / 0.7712 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.069, allocations: 1.679 MB / 0.7728 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.073, allocations: 336.8 kB / 0.7731 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.089, allocations: 8.706 MB / 0.7816 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/1.093, allocations: 2.413 MB / 0.784 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004164/1.097, allocations: 1.777 MB / 0.7857 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008986/1.098, allocations: 203.4 kB / 0.7859 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.373e-06/1.098, allocations: 0 / 0.7859 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06102/1.159, allocations: 39.53 MB / 0.8245 GB, free: 71.49 MB / 0.5606 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] 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.480218734126538]