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.001371/0.001371, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001462/0.001462, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.464/1.464, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2335/0.2335, allocations: 46.88 MB / 361.1 MB, free: 4.652 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.002419/0.002419, allocations: 79.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.311, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01286/0.3239, allocations: 10.43 MB / 0.5714 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009112/0.333, allocations: 3.925 MB / 0.5752 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.3355, allocations: 59.88 kB / 0.5753 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.3405, allocations: 2.11 MB / 0.5773 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.3464, allocations: 1.712 MB / 0.579 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.3487, allocations: 0.69 MB / 0.5797 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007185/0.3558, allocations: 4.001 MB / 0.5836 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.3592, allocations: 1.946 MB / 0.5855 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.3619, allocations: 1.3 MB / 0.5868 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00364/0.3656, allocations: 2.013 MB / 0.5887 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.3667, allocations: 264 kB / 0.589 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.3695, allocations: 1.209 MB / 0.5902 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.3715, allocations: 1.71 MB / 0.5918 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.3736, allocations: 1.883 MB / 0.5937 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008686/0.3823, allocations: 6.178 MB / 0.5997 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3823, allocations: 0 / 0.5997 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3823, allocations: 4 kB / 0.5997 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.3825, allocations: 0 / 0.5997 GB, free: 13.41 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.01123/0.3938, allocations: 4.316 MB / 0.6039 GB, free: 9.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3938, allocations: 8.031 kB / 0.6039 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.4103, allocations: 2.459 MB / 0.6063 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/0.417, allocations: 2.414 MB / 0.6087 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.4172, allocations: 201.3 kB / 0.6089 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000938/0.4181, allocations: 279.9 kB / 0.6091 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.4338, allocations: 8.591 MB / 0.6175 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.4339, allocations: 39.7 kB / 0.6176 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.4343, allocations: 131.8 kB / 0.6177 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/0.4373, allocations: 1.739 MB / 0.6194 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.454, allocations: 7.292 MB / 0.6265 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04815/0.5021, allocations: 34.09 MB / 0.6598 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00928/0.5114, allocations: 3.353 MB / 0.6631 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.5138, allocations: 1.582 MB / 0.6646 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.5264, allocations: 7.524 MB / 0.672 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5265, allocations: 51.56 kB / 0.672 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.027e-06/0.5265, allocations: 0 / 0.672 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06591/0.5924, allocations: 19.8 MB / 0.6914 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.5925, allocations: 201.2 kB / 0.6915 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/0.5978, allocations: 3.739 MB / 0.6952 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003846/0.5982, allocations: 53.7 kB / 0.6953 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.6008, allocations: 2.921 MB / 0.6981 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009587/0.6018, allocations: 0.7482 MB / 0.6988 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/0.6034, allocations: 1.211 MB / 0.7 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6036, allocations: 309.1 kB / 0.7003 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003461/0.607, allocations: 2.21 MB / 0.7025 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006816/0.6139, allocations: 5.774 MB / 0.7081 GB, free: 10.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/0.6258, allocations: 8.594 MB / 0.7165 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.6259, allocations: 39.94 kB / 0.7165 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01994/0.6459, allocations: 9.189 MB / 0.7255 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.646, allocations: 66.5 kB / 0.7256 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/0.6462, allocations: 128 kB / 0.7257 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00607/0.6522, allocations: 1.657 MB / 0.7273 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/0.6567, allocations: 1.326 MB / 0.7286 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2868/0.9435, allocations: 9.937 MB / 0.7383 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.9477, allocations: 314.5 kB / 0.7386 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006221/0.9484, allocations: 363.1 kB / 0.739 GB, free: 149.2 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.002533/0.9509, allocations: 1.889 MB / 0.7408 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/0.9514, allocations: 345.4 kB / 0.7411 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007895/0.9593, allocations: 4.121 MB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.9593, allocations: 27.39 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.9593, allocations: 7.875 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.9593, allocations: 7.594 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.9732, allocations: 8.496 MB / 0.7535 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.9732, allocations: 0 / 0.7535 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.9743, allocations: 260.4 kB / 0.7537 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004496/0.9788, allocations: 1.427 MB / 0.7551 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.979, allocations: 35.83 kB / 0.7552 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.9891, allocations: 9.205 MB / 0.7642 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9891, allocations: 0 / 0.7642 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.9991, allocations: 6.747 MB / 0.7708 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/1, allocations: 395.8 kB / 0.7711 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1, allocations: 31.52 kB / 0.7712 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.002, allocations: 91.88 kB / 0.7712 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/1.002, allocations: 109.2 kB / 0.7714 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.002, allocations: 51.98 kB / 0.7714 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00263/1.005, allocations: 2.315 MB / 0.7737 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 3.125 kB / 0.7737 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004307/1.009, allocations: 0.9842 MB / 0.7746 GB, free: 124.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.0004545/1.009, allocations: 157.8 kB / 0.7748 GB, free: 124 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006714/1.016, allocations: 5.218 MB / 0.7799 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.016, allocations: 0 / 0.7799 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.018, allocations: 1.678 MB / 0.7815 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.02, allocations: 393 kB / 0.7819 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.031, allocations: 8.727 MB / 0.7904 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/1.034, allocations: 2.965 MB / 0.7933 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003255/1.037, allocations: 1.807 MB / 0.7951 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/1.037, allocations: 219.4 kB / 0.7953 GB, free: 103 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.037, allocations: 0 / 0.7953 GB, free: 103 MB / 0.5606 GB Notification: Performance of Templates: time 0.05813/1.095, allocations: 38.06 MB / 0.8324 GB, free: 65.12 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 cvode -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.647395701147616]