Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.001392/0.001392, allocations: 123.9 kB / 18.46 MB, free: 4.461 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.001519/0.001519, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.482/1.482, allocations: 227.4 MB / 251.6 MB, free: 36 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 46.17 MB / 351.1 MB, free: 14.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 78.8 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1486, allocations: 62.45 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02082/0.1695, allocations: 16.1 MB / 0.5554 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1822, allocations: 4.983 MB / 0.5603 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.1855, allocations: 99.75 kB / 0.5604 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.1964, allocations: 5.155 MB / 0.5654 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009087/0.2056, allocations: 2.466 MB / 0.5678 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.2091, allocations: 1.174 MB / 0.569 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.2205, allocations: 6.662 MB / 0.5755 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008761/0.2293, allocations: 6.34 MB / 0.5817 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004824/0.2342, allocations: 2.586 MB / 0.5842 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006025/0.2403, allocations: 3.665 MB / 0.5878 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.2423, allocations: 0.5742 MB / 0.5883 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.2456, allocations: 1.268 MB / 0.5896 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003866/0.2495, allocations: 3.211 MB / 0.5927 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005355/0.2548, allocations: 3.655 MB / 0.5963 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3443/0.5991, allocations: 11.13 MB / 0.6071 GB, free: 24.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.5992, allocations: 0 / 0.6071 GB, free: 24.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5992, allocations: 0.8438 kB / 0.6071 GB, free: 24.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005046/0.5997, allocations: 0 / 0.6071 GB, free: 24.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02079/0.6205, allocations: 7.77 MB / 0.6147 GB, free: 21.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6206, allocations: 9.062 kB / 0.6147 GB, free: 21.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.6322, allocations: 2.631 MB / 0.6173 GB, free: 20.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009111/0.6414, allocations: 3.601 MB / 0.6208 GB, free: 20.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005097/0.6419, allocations: 435.5 kB / 0.6212 GB, free: 20.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/0.6447, allocations: 0.5499 MB / 0.6218 GB, free: 20.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04281/0.6875, allocations: 19.75 MB / 0.6411 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/0.6878, allocations: 73.11 kB / 0.6411 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007428/0.6885, allocations: 266.7 kB / 0.6414 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003582/0.6921, allocations: 3.155 MB / 0.6445 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/0.7237, allocations: 15.86 MB / 0.66 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08584/0.8096, allocations: 63.85 MB / 0.7223 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/0.8274, allocations: 6.327 MB / 0.7285 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/0.8308, allocations: 2.085 MB / 0.7305 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/0.8474, allocations: 9.203 MB / 0.7395 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/0.8475, allocations: 68.58 kB / 0.7396 GB, free: 13.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=257): time 7.854e-06/0.8475, allocations: 0 / 0.7396 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=291): time 0.06263/0.9101, allocations: 21.73 MB / 0.7608 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.9103, allocations: 162.5 kB / 0.761 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009283/0.9196, allocations: 5.766 MB / 0.7666 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006237/0.9203, allocations: 73.7 kB / 0.7667 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004309/0.9246, allocations: 5.025 MB / 0.7716 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/0.9263, allocations: 1.164 MB / 0.7727 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002696/0.929, allocations: 1.834 MB / 0.7745 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9291, allocations: 301.1 kB / 0.7748 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/0.9345, allocations: 2.637 MB / 0.7774 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/0.945, allocations: 8.203 MB / 0.7854 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/0.9624, allocations: 11.76 MB / 0.7968 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/0.9627, allocations: 60 kB / 0.7969 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0248/0.9875, allocations: 10.57 MB / 0.8072 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003136/0.9878, allocations: 92.06 kB / 0.8073 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004855/0.9883, allocations: 196 kB / 0.8075 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.9888, allocations: 267.8 kB / 0.8078 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008073/0.9969, allocations: 2.203 MB / 0.8099 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004987/0.9974, allocations: 386.5 kB / 0.8103 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007508/1.005, allocations: 463.5 kB / 0.8107 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.007, allocations: 0.546 MB / 0.8112 GB, free: 15.67 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1183): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008844/1.015, allocations: 3.144 MB / 0.8143 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.017, allocations: 0.5355 MB / 0.8148 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/1.024, allocations: 2.995 MB / 0.8178 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/1.024, allocations: 31.75 kB / 0.8178 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.024, allocations: 0 / 0.8178 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/1.024, allocations: 15.95 kB / 0.8178 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.05, allocations: 12.27 MB / 0.8298 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.317e-05/1.05, allocations: 32 kB / 0.8298 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.052, allocations: 0.5467 MB / 0.8304 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.137e-05/1.052, allocations: 44 kB / 0.8304 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.052, allocations: 95.58 kB / 0.8305 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.153e-05/1.052, allocations: 63.78 kB / 0.8305 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-05/1.052, allocations: 54.09 kB / 0.8306 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008629/1.061, allocations: 5.631 MB / 0.8361 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/1.063, allocations: 0.6105 MB / 0.8367 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/1.063, allocations: 91.98 kB / 0.8368 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.065, allocations: 135.9 kB / 0.8369 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/1.066, allocations: 278.7 kB / 0.8372 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.066, allocations: 120 kB / 0.8373 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006792/1.073, allocations: 3.573 MB / 0.8408 GB, free: 404 kB / 0.6387 GB Notification: Performance of sort global known variables: time 3.5e-07/1.073, allocations: 0 / 0.8408 GB, free: 404 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008718/1.081, allocations: 1.413 MB / 0.8422 GB, free: 14.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006551/1.082, allocations: 258 kB / 0.8424 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.094, allocations: 6.075 MB / 0.8483 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.641e-05/1.094, allocations: 4 kB / 0.8483 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/1.097, allocations: 1.37 MB / 0.8497 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/1.102, allocations: 0.7505 MB / 0.8504 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3298/1.431, allocations: 14.49 MB / 0.8646 GB, free: 235.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/1.442, allocations: 4.751 MB / 0.8692 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008447/1.45, allocations: 2.581 MB / 0.8717 GB, free: 235 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.452, allocations: 383.5 kB / 0.8721 GB, free: 235 MB / 0.6544 GB Notification: Performance of SimCode: time 1.763e-06/1.452, allocations: 2 kB / 0.8721 GB, free: 235 MB / 0.6544 GB Notification: Performance of Templates: time 0.0801/1.532, allocations: 41.22 MB / 0.9124 GB, free: 208.2 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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: 8.123097212053835]