Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 204.6 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2302/0.2302, allocations: 46.89 MB / 361.1 MB, free: 4.625 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 79.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3718, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01415/0.386, allocations: 10.42 MB / 0.5714 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009331/0.3953, allocations: 3.933 MB / 0.5752 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.3973, allocations: 55.88 kB / 0.5753 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.4019, allocations: 2.11 MB / 0.5773 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.4066, allocations: 1.712 MB / 0.579 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.4084, allocations: 0.69 MB / 0.5797 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006143/0.4145, allocations: 3.997 MB / 0.5836 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003236/0.4178, allocations: 1.949 MB / 0.5855 GB, free: 12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.4203, allocations: 1.304 MB / 0.5868 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00421/0.4245, allocations: 2.005 MB / 0.5887 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.4258, allocations: 267.9 kB / 0.589 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.429, allocations: 1.213 MB / 0.5902 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002421/0.4315, allocations: 1.71 MB / 0.5918 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.4344, allocations: 1.879 MB / 0.5937 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007742/0.4421, allocations: 6.182 MB / 0.5997 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4421, allocations: 0 / 0.5997 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4421, allocations: 0 / 0.5997 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.4423, allocations: 0 / 0.5997 GB, free: 13.39 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.009474/0.4517, allocations: 4.316 MB / 0.6039 GB, free: 9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4518, allocations: 12.03 kB / 0.6039 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/0.469, allocations: 2.463 MB / 0.6063 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/0.476, allocations: 2.41 MB / 0.6087 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.4762, allocations: 193.3 kB / 0.6089 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/0.477, allocations: 279.9 kB / 0.6091 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.4922, allocations: 8.595 MB / 0.6175 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.4923, allocations: 43.64 kB / 0.6176 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.4926, allocations: 127.9 kB / 0.6177 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/0.4957, allocations: 1.735 MB / 0.6194 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.5108, allocations: 7.303 MB / 0.6265 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0465/0.5573, allocations: 34.08 MB / 0.6598 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009952/0.5673, allocations: 3.348 MB / 0.6631 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.5699, allocations: 1.588 MB / 0.6646 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/0.5838, allocations: 7.516 MB / 0.672 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.5838, allocations: 51.55 kB / 0.672 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 3.957e-06/0.5838, allocations: 0 / 0.672 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.07067/0.6545, allocations: 19.79 MB / 0.6913 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.6546, allocations: 205.2 kB / 0.6915 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005456/0.6601, allocations: 3.739 MB / 0.6952 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003331/0.6604, allocations: 53.7 kB / 0.6952 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/0.6629, allocations: 2.924 MB / 0.6981 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009055/0.6638, allocations: 0.7482 MB / 0.6988 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/0.6655, allocations: 1.211 MB / 0.7 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6656, allocations: 301.1 kB / 0.7003 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/0.6692, allocations: 2.21 MB / 0.7025 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006748/0.6759, allocations: 5.778 MB / 0.7081 GB, free: 10.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.6871, allocations: 8.594 MB / 0.7165 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.583e-05/0.6872, allocations: 39.98 kB / 0.7165 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01919/0.7064, allocations: 9.189 MB / 0.7255 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.7065, allocations: 56.19 kB / 0.7256 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/0.7067, allocations: 128 kB / 0.7257 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005861/0.7125, allocations: 1.665 MB / 0.7273 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.7167, allocations: 1.329 MB / 0.7286 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2953/1.012, allocations: 9.933 MB / 0.7383 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/1.016, allocations: 310.1 kB / 0.7386 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/1.017, allocations: 361.1 kB / 0.7389 GB, free: 148.4 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.002442/1.019, allocations: 1.895 MB / 0.7408 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/1.02, allocations: 351.9 kB / 0.7411 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008271/1.028, allocations: 4.115 MB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/1.028, allocations: 26.53 kB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/1.028, allocations: 7.781 kB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/1.028, allocations: 11.34 kB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/1.044, allocations: 8.487 MB / 0.7535 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.044, allocations: 3.812 kB / 0.7535 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.045, allocations: 249.8 kB / 0.7537 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/1.05, allocations: 1.443 MB / 0.7551 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.05, allocations: 38.19 kB / 0.7552 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/1.061, allocations: 9.204 MB / 0.7642 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.061, allocations: 4.031 kB / 0.7642 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.071, allocations: 6.752 MB / 0.7708 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009161/1.072, allocations: 397.8 kB / 0.7711 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/1.073, allocations: 28 kB / 0.7712 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.074, allocations: 91.86 kB / 0.7713 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/1.074, allocations: 109.1 kB / 0.7714 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.074, allocations: 54.62 kB / 0.7714 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00266/1.077, allocations: 2.319 MB / 0.7737 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.077, allocations: 0 / 0.7737 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004528/1.082, allocations: 0.9736 MB / 0.7746 GB, free: 123.1 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.0003972/1.082, allocations: 168.6 kB / 0.7748 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006834/1.089, allocations: 5.218 MB / 0.7799 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.089, allocations: 0 / 0.7799 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.091, allocations: 1.674 MB / 0.7815 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.093, allocations: 386 kB / 0.7819 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/1.106, allocations: 8.729 MB / 0.7904 GB, free: 107 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/1.108, allocations: 2.961 MB / 0.7933 GB, free: 104 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003428/1.112, allocations: 1.811 MB / 0.7951 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/1.112, allocations: 223.4 kB / 0.7953 GB, free: 102 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/1.112, allocations: 0 / 0.7953 GB, free: 102 MB / 0.5606 GB Notification: Performance of Templates: time 0.05896/1.171, allocations: 38.06 MB / 0.8324 GB, free: 64.13 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.348279478028417]