Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001931/0.001931, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.00213/0.00213, allocations: 159.4 kB / 24.5 MB, free: 3.715 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 32.82 MB / 294.1 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3041, allocations: 65.44 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.008802/0.3129, allocations: 9.121 MB / 0.5031 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.3201, allocations: 3.684 MB / 0.5067 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.3216, allocations: 73.69 kB / 0.5067 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.3249, allocations: 2.028 MB / 0.5087 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.3284, allocations: 1.724 MB / 0.5104 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3296, allocations: 0.6949 MB / 0.5111 GB, free: 21.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004418/0.334, allocations: 4.006 MB / 0.515 GB, free: 19.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.3363, allocations: 2.149 MB / 0.5171 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.3385, allocations: 1.328 MB / 0.5184 GB, free: 18.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.3421, allocations: 1.902 MB / 0.5202 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007939/0.3429, allocations: 265.4 kB / 0.5205 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.3456, allocations: 1.093 MB / 0.5216 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001733/0.3473, allocations: 1.695 MB / 0.5232 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.3489, allocations: 1.388 MB / 0.5246 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00758/0.3565, allocations: 6.206 MB / 0.5306 GB, free: 13.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3565, allocations: 0 / 0.5306 GB, free: 13.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3565, allocations: 0 / 0.5306 GB, free: 13.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001719/0.3567, allocations: 0 / 0.5306 GB, free: 13.47 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.008819/0.3655, allocations: 4.241 MB / 0.5348 GB, free: 10.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3655, allocations: 8.719 kB / 0.5348 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.3822, allocations: 2.563 MB / 0.5373 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006764/0.3889, allocations: 2.361 MB / 0.5396 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.3891, allocations: 189.8 kB / 0.5398 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008962/0.39, allocations: 283.9 kB / 0.54 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.4027, allocations: 8.668 MB / 0.5485 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.772e-05/0.4028, allocations: 43.7 kB / 0.5485 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.4031, allocations: 123.9 kB / 0.5487 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002895/0.406, allocations: 1.735 MB / 0.5504 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.4209, allocations: 7.272 MB / 0.5575 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04197/0.4628, allocations: 31.69 MB / 0.5884 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009071/0.4719, allocations: 2.985 MB / 0.5913 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.4743, allocations: 1.576 MB / 0.5929 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.4868, allocations: 6.123 MB / 0.5988 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.358e-05/0.4868, allocations: 55.55 kB / 0.5989 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.611e-06/0.4868, allocations: 3.938 kB / 0.5989 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06966/0.5565, allocations: 19.66 MB / 0.6181 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.5566, allocations: 201.2 kB / 0.6183 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007246/0.5639, allocations: 3.558 MB / 0.6218 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004354/0.5643, allocations: 57.69 kB / 0.6218 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.5671, allocations: 2.934 MB / 0.6247 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.5683, allocations: 0.752 MB / 0.6254 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/0.5712, allocations: 1.207 MB / 0.6266 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5714, allocations: 309.1 kB / 0.6269 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/0.5754, allocations: 2.147 MB / 0.629 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007241/0.5826, allocations: 5.762 MB / 0.6346 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.5949, allocations: 8.481 MB / 0.6429 GB, free: 11.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/0.5951, allocations: 40 kB / 0.6429 GB, free: 11.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02137/0.6165, allocations: 9.091 MB / 0.6518 GB, free: 1.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.6166, allocations: 56.94 kB / 0.6519 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/0.6169, allocations: 128 kB / 0.652 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/0.6229, allocations: 1.734 MB / 0.6537 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/0.6276, allocations: 1.326 MB / 0.655 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/0.6431, allocations: 9.495 MB / 0.6642 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004335/0.6474, allocations: 327.7 kB / 0.6646 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009977/0.6484, allocations: 360 kB / 0.6649 GB, free: 4.391 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.003727/0.6521, allocations: 1.893 MB / 0.6668 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/0.6528, allocations: 317.9 kB / 0.6671 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.6631, allocations: 4.032 MB / 0.671 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.6631, allocations: 20 kB / 0.671 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/0.6631, allocations: 11.94 kB / 0.671 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.6632, allocations: 7.969 kB / 0.671 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.6822, allocations: 7.416 MB / 0.6783 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.6822, allocations: 0 / 0.6783 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.6836, allocations: 259.6 kB / 0.6785 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005586/0.6892, allocations: 1.506 MB / 0.68 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/0.6894, allocations: 28 kB / 0.68 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.7038, allocations: 8.778 MB / 0.6886 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7038, allocations: 0 / 0.6886 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.717, allocations: 6.583 MB / 0.695 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.7178, allocations: 273.8 kB / 0.6953 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/0.7183, allocations: 28 kB / 0.6953 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.7199, allocations: 103.9 kB / 0.6954 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/0.7202, allocations: 117 kB / 0.6955 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.7204, allocations: 44 kB / 0.6956 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003673/0.724, allocations: 2.044 MB / 0.6976 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.724, allocations: 4 kB / 0.6976 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004614/0.7287, allocations: 0.9687 MB / 0.6985 GB, free: 1.758 MB / 0.5919 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.0004383/0.7291, allocations: 167 kB / 0.6987 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2582/0.9873, allocations: 5.062 MB / 0.7036 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.9873, allocations: 1.062 kB / 0.7036 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.9898, allocations: 1.611 MB / 0.7052 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.9921, allocations: 344.8 kB / 0.7055 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.007, allocations: 8.583 MB / 0.7139 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.01, allocations: 2.417 MB / 0.7163 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004028/1.014, allocations: 1.774 MB / 0.718 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/1.014, allocations: 210.3 kB / 0.7182 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.563e-06/1.014, allocations: 1.375 kB / 0.7182 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.06338/1.078, allocations: 33.38 MB / 0.7508 GB, free: 154.3 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.090688472962938]