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.001792/0.001792, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002313/0.002313, allocations: 212 kB / 23.73 MB, free: 4.387 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2487/0.2487, allocations: 44.93 MB / 358.8 MB, free: 6.156 MB / 286.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.002898/0.002898, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3214, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01184/0.3332, allocations: 9.107 MB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008106/0.3413, allocations: 3.693 MB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.3425, allocations: 75.62 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.3465, allocations: 2.021 MB / 0.572 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.3504, allocations: 1.728 MB / 0.5737 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.3519, allocations: 0.694 MB / 0.5744 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.357, allocations: 4.008 MB / 0.5783 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/0.3596, allocations: 2.14 MB / 0.5804 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.3613, allocations: 1.327 MB / 0.5817 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.3639, allocations: 1.908 MB / 0.5835 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005032/0.3644, allocations: 264 kB / 0.5838 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.3663, allocations: 1.088 MB / 0.5848 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.368, allocations: 1.694 MB / 0.5865 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.3695, allocations: 1.39 MB / 0.5879 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.3768, allocations: 6.208 MB / 0.5939 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3768, allocations: 0 / 0.5939 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3768, allocations: 4 kB / 0.5939 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.3769, allocations: 4 kB / 0.5939 GB, free: 1.949 MB / 430.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.009057/0.386, allocations: 4.233 MB / 0.5981 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.386, allocations: 12.03 kB / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.4023, allocations: 2.451 MB / 0.6005 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006654/0.4089, allocations: 2.362 MB / 0.6028 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.4091, allocations: 201.3 kB / 0.603 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/0.4099, allocations: 279.9 kB / 0.6032 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.4239, allocations: 8.666 MB / 0.6117 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.424, allocations: 39.64 kB / 0.6117 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.4244, allocations: 127.9 kB / 0.6119 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/0.4273, allocations: 1.731 MB / 0.6135 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.441, allocations: 7.284 MB / 0.6207 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04131/0.4823, allocations: 31.58 MB / 0.6515 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00888/0.4911, allocations: 2.887 MB / 0.6543 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002393/0.4935, allocations: 1.588 MB / 0.6559 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/0.5057, allocations: 6.101 MB / 0.6618 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.5057, allocations: 51.56 kB / 0.6619 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.169e-06/0.5057, allocations: 0 / 0.6619 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.0656/0.5713, allocations: 19.53 MB / 0.681 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.5715, allocations: 209.2 kB / 0.6812 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005283/0.5768, allocations: 3.558 MB / 0.6846 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003641/0.5771, allocations: 53.7 kB / 0.6847 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/0.5795, allocations: 2.938 MB / 0.6876 GB, free: 88 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.5806, allocations: 0.7483 MB / 0.6883 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.5824, allocations: 1.211 MB / 0.6895 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5826, allocations: 301.1 kB / 0.6898 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.5861, allocations: 2.21 MB / 0.6919 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006597/0.5927, allocations: 5.828 MB / 0.6976 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.6041, allocations: 8.608 MB / 0.706 GB, free: 9.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/0.6042, allocations: 39.98 kB / 0.706 GB, free: 9.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01869/0.6229, allocations: 9.153 MB / 0.715 GB, free: 432 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/0.623, allocations: 64.22 kB / 0.715 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.6231, allocations: 124.2 kB / 0.7152 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/0.6288, allocations: 1.653 MB / 0.7168 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.6332, allocations: 1.326 MB / 0.7181 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.6486, allocations: 9.685 MB / 0.7275 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/0.6526, allocations: 319.6 kB / 0.7278 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005942/0.6532, allocations: 364 kB / 0.7282 GB, free: 2.789 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.002904/0.6561, allocations: 1.904 MB / 0.73 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/0.6566, allocations: 317.9 kB / 0.7303 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2716/0.9282, allocations: 4.085 MB / 0.7343 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/0.9282, allocations: 19.78 kB / 0.7344 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.9283, allocations: 7.594 kB / 0.7344 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.9283, allocations: 11.45 kB / 0.7344 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.9428, allocations: 7.484 MB / 0.7417 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.9428, allocations: 0 / 0.7417 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.944, allocations: 256.1 kB / 0.7419 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004699/0.9487, allocations: 1.433 MB / 0.7433 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.9488, allocations: 35.62 kB / 0.7434 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.9593, allocations: 8.968 MB / 0.7521 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9593, allocations: 0 / 0.7521 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009642/0.9689, allocations: 6.725 MB / 0.7587 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.9697, allocations: 281 kB / 0.7589 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.9701, allocations: 28 kB / 0.759 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.9714, allocations: 87.89 kB / 0.7591 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.9717, allocations: 121.1 kB / 0.7592 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.9718, allocations: 55.14 kB / 0.7592 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002394/0.9742, allocations: 2.048 MB / 0.7612 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9742, allocations: 0 / 0.7612 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003617/0.9779, allocations: 0.9692 MB / 0.7622 GB, free: 137.7 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.0003398/0.9782, allocations: 161 kB / 0.7623 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006024/0.9842, allocations: 5.218 MB / 0.7674 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9842, allocations: 0 / 0.7674 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.986, allocations: 1.676 MB / 0.7691 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.9875, allocations: 338 kB / 0.7694 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/0.9973, allocations: 8.699 MB / 0.7779 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.9994, allocations: 2.416 MB / 0.7802 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002981/1.002, allocations: 1.77 MB / 0.782 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/1.003, allocations: 215.3 kB / 0.7822 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/1.003, allocations: 3.828 kB / 0.7822 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.0513/1.054, allocations: 36.99 MB / 0.8183 GB, free: 80.76 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/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.350841509178281]