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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002019/0.00202, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00284/0.00284, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.292/2.292, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2655/0.2655, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3944, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01849/0.4129, allocations: 16.11 MB / 0.5474 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.4256, allocations: 4.975 MB / 0.5523 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.4294, allocations: 103.7 kB / 0.5524 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.4397, allocations: 5.163 MB / 0.5574 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00821/0.4481, allocations: 2.54 MB / 0.5599 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.4512, allocations: 1.186 MB / 0.561 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.4613, allocations: 6.654 MB / 0.5675 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009641/0.471, allocations: 6.328 MB / 0.5737 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.4765, allocations: 2.594 MB / 0.5762 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.4828, allocations: 3.665 MB / 0.5798 GB, free: 220 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002324/0.4852, allocations: 0.5704 MB / 0.5804 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.4896, allocations: 1.28 MB / 0.5816 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004913/0.4946, allocations: 3.223 MB / 0.5848 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00728/0.5019, allocations: 3.659 MB / 0.5884 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01838/0.5203, allocations: 11.13 MB / 0.5992 GB, free: 12.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.5204, allocations: 0 / 0.5992 GB, free: 12.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.029e-06/0.5204, allocations: 3.984 kB / 0.5992 GB, free: 12.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000489/0.5209, allocations: 0 / 0.5992 GB, free: 12.27 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.02089/0.5418, allocations: 7.773 MB / 0.6068 GB, free: 4.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.5419, allocations: 8.031 kB / 0.6068 GB, free: 4.398 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.5534, allocations: 2.629 MB / 0.6094 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.5643, allocations: 3.609 MB / 0.6129 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004913/0.5649, allocations: 431.3 kB / 0.6133 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/0.5675, allocations: 0.5582 MB / 0.6139 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05028/0.6178, allocations: 19.75 MB / 0.6332 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003267/0.6182, allocations: 67.39 kB / 0.6332 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002001/0.6202, allocations: 275.8 kB / 0.6335 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006307/0.6266, allocations: 3.149 MB / 0.6366 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04419/0.6708, allocations: 15.85 MB / 0.652 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09965/0.7705, allocations: 63.85 MB / 0.7144 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5734/1.344, allocations: 6.323 MB / 0.7206 GB, free: 162.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/1.347, allocations: 2.085 MB / 0.7226 GB, free: 161.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/1.363, allocations: 9.203 MB / 0.7316 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/1.363, allocations: 64.62 kB / 0.7317 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 8.056e-06/1.363, allocations: 0 / 0.7317 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05662/1.42, allocations: 21.74 MB / 0.7529 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.42, allocations: 162.5 kB / 0.753 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/1.425, allocations: 5.765 MB / 0.7587 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003871/1.426, allocations: 65.7 kB / 0.7587 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.428, allocations: 5.031 MB / 0.7636 GB, free: 133.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008554/1.429, allocations: 1.168 MB / 0.7648 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/1.43, allocations: 1.83 MB / 0.7666 GB, free: 130.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.43, allocations: 301.1 kB / 0.7669 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/1.434, allocations: 2.637 MB / 0.7694 GB, free: 128 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005182/1.439, allocations: 8.202 MB / 0.7774 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009281/1.448, allocations: 11.77 MB / 0.7889 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.448, allocations: 60 kB / 0.789 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01524/1.463, allocations: 10.56 MB / 0.7993 GB, free: 91.95 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/1.464, allocations: 92.03 kB / 0.7994 GB, free: 91.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/1.464, allocations: 196 kB / 0.7996 GB, free: 91.67 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/1.464, allocations: 267.9 kB / 0.7998 GB, free: 91.41 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006283/1.47, allocations: 2.211 MB / 0.802 GB, free: 89.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001791/1.47, allocations: 390.5 kB / 0.8024 GB, free: 88.81 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/1.476, allocations: 462.8 kB / 0.8028 GB, free: 88.36 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/1.477, allocations: 0.5468 MB / 0.8033 GB, free: 87.82 MB / 0.5607 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.003842/1.481, allocations: 3.144 MB / 0.8064 GB, free: 84.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/1.481, allocations: 0.5355 MB / 0.8069 GB, free: 84.12 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/1.485, allocations: 2.983 MB / 0.8098 GB, free: 81.12 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/1.485, allocations: 15.94 kB / 0.8099 GB, free: 81.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.485, allocations: 7.938 kB / 0.8099 GB, free: 81.09 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009402/1.486, allocations: 0.5481 MB / 0.8104 GB, free: 80.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005412/1.487, allocations: 48 kB / 0.8105 GB, free: 80.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.489, allocations: 131.8 kB / 0.8106 GB, free: 80.35 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/1.489, allocations: 153.7 kB / 0.8107 GB, free: 80.2 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005182/1.494, allocations: 3.591 MB / 0.8142 GB, free: 76.64 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005952/1.5, allocations: 5.67 MB / 0.8198 GB, free: 70.9 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001534/1.502, allocations: 1.449 MB / 0.8212 GB, free: 69.45 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004455/1.506, allocations: 3.557 MB / 0.8247 GB, free: 65.93 MB / 0.5607 GB Notification: Performance of Backend: time 7.41e-07/1.506, allocations: 0 / 0.8247 GB, free: 65.93 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008964/1.515, allocations: 5.232 MB / 0.8298 GB, free: 60.74 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01656/1.532, allocations: 13.94 MB / 0.8434 GB, free: 46.76 MB / 0.5607 GB Notification: Performance of Templates: time 0.3291/1.861, allocations: 55.51 MB / 0.8976 GB, free: 7.5 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches