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.001494/0.001494, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002071/0.002071, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 76.66 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1157, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2711/0.3868, allocations: 75.03 MB / 0.542 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.4207, allocations: 14.52 MB / 0.5561 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01834/0.439, allocations: 321 kB / 0.5564 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.4492, allocations: 5.169 MB / 0.5615 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007255/0.4566, allocations: 2.317 MB / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.4595, allocations: 1.092 MB / 0.5648 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.4715, allocations: 9.623 MB / 0.5742 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00838/0.48, allocations: 6.349 MB / 0.5804 GB, free: 408 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.4842, allocations: 2.321 MB / 0.5827 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005525/0.4898, allocations: 3.91 MB / 0.5865 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.4914, allocations: 452 kB / 0.5869 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.4945, allocations: 1.198 MB / 0.5881 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003585/0.4981, allocations: 3.125 MB / 0.5912 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004895/0.503, allocations: 3.549 MB / 0.5946 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008576/0.5116, allocations: 8.677 MB / 0.6031 GB, free: 9.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.5116, allocations: 0 / 0.6031 GB, free: 9.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5117, allocations: 0 / 0.6031 GB, free: 9.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003442/0.512, allocations: 0 / 0.6031 GB, free: 9.109 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.0146/0.5266, allocations: 7.571 MB / 0.6105 GB, free: 1.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5267, allocations: 12.88 kB / 0.6105 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009569/0.5362, allocations: 2.596 MB / 0.613 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006299/0.5426, allocations: 3.521 MB / 0.6165 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.543, allocations: 427.5 kB / 0.6169 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.5445, allocations: 0.5581 MB / 0.6174 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04075/0.5853, allocations: 19.74 MB / 0.6367 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.5855, allocations: 71.34 kB / 0.6368 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009374/0.5865, allocations: 271.8 kB / 0.637 GB, free: 5.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004888/0.5914, allocations: 3.157 MB / 0.6401 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03699/0.6284, allocations: 15.86 MB / 0.6556 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0912/0.7196, allocations: 64 MB / 0.7181 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4216/1.141, allocations: 6.327 MB / 0.7243 GB, free: 195.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/1.145, allocations: 2.048 MB / 0.7263 GB, free: 194.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/1.159, allocations: 9.177 MB / 0.7352 GB, free: 190.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/1.159, allocations: 60.78 kB / 0.7353 GB, free: 190.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=257): time 5.881e-06/1.159, allocations: 0 / 0.7353 GB, free: 190.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=291): time 0.05142/1.21, allocations: 21.37 MB / 0.7562 GB, free: 182.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/1.21, allocations: 169.4 kB / 0.7563 GB, free: 182.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/1.217, allocations: 5.756 MB / 0.762 GB, free: 176.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000407/1.217, allocations: 69.53 kB / 0.762 GB, free: 176.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/1.219, allocations: 4.832 MB / 0.7667 GB, free: 171.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008835/1.22, allocations: 1.117 MB / 0.7678 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/1.222, allocations: 1.813 MB / 0.7696 GB, free: 169 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/1.222, allocations: 301.1 kB / 0.7699 GB, free: 168.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/1.225, allocations: 2.641 MB / 0.7725 GB, free: 166 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005194/1.231, allocations: 8.194 MB / 0.7805 GB, free: 155.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009894/1.241, allocations: 11.76 MB / 0.7919 GB, free: 140.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.241, allocations: 60 kB / 0.792 GB, free: 140.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01609/1.257, allocations: 10.54 MB / 0.8023 GB, free: 130.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.257, allocations: 88 kB / 0.8024 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/1.257, allocations: 203.9 kB / 0.8026 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/1.257, allocations: 260 kB / 0.8028 GB, free: 129.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/1.263, allocations: 2.215 MB / 0.805 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002241/1.264, allocations: 390.5 kB / 0.8054 GB, free: 127 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005538/1.269, allocations: 463.4 kB / 0.8058 GB, free: 126.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008889/1.27, allocations: 0.5351 MB / 0.8063 GB, free: 126 MB / 0.545 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.004068/1.274, allocations: 3.148 MB / 0.8094 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007763/1.275, allocations: 0.5129 MB / 0.8099 GB, free: 122.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/1.279, allocations: 2.987 MB / 0.8128 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/1.279, allocations: 35.94 kB / 0.8129 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.279, allocations: 0 / 0.8129 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.279, allocations: 15.95 kB / 0.8129 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/1.295, allocations: 12.27 MB / 0.8249 GB, free: 106.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/1.295, allocations: 32 kB / 0.8249 GB, free: 106.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.297, allocations: 0.5466 MB / 0.8254 GB, free: 105.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.024e-05/1.297, allocations: 47.98 kB / 0.8255 GB, free: 105.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.297, allocations: 91.98 kB / 0.8256 GB, free: 105.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-05/1.297, allocations: 67.72 kB / 0.8256 GB, free: 105.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-05/1.298, allocations: 47.81 kB / 0.8257 GB, free: 105.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/1.303, allocations: 5.599 MB / 0.8311 GB, free: 99.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.304, allocations: 0.5879 MB / 0.8317 GB, free: 98.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005746/1.305, allocations: 87.98 kB / 0.8318 GB, free: 98.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.307, allocations: 143.9 kB / 0.8319 GB, free: 98.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.307, allocations: 271.9 kB / 0.8322 GB, free: 98.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.307, allocations: 123.7 kB / 0.8323 GB, free: 98.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004785/1.312, allocations: 3.573 MB / 0.8358 GB, free: 94.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.72e-07/1.312, allocations: 4 kB / 0.8358 GB, free: 94.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00684/1.319, allocations: 1.404 MB / 0.8372 GB, free: 93.35 MB / 0.545 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.0005032/1.319, allocations: 256.3 kB / 0.8374 GB, free: 93.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007952/1.327, allocations: 5.995 MB / 0.8433 GB, free: 87.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/1.327, allocations: 4 kB / 0.8433 GB, free: 87.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.329, allocations: 1.368 MB / 0.8446 GB, free: 85.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/1.333, allocations: 0.7256 MB / 0.8453 GB, free: 85.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.357, allocations: 18.37 MB / 0.8633 GB, free: 66.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005179/1.362, allocations: 4.745 MB / 0.8679 GB, free: 61.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.364, allocations: 447.4 kB / 0.8683 GB, free: 61.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/1.364, allocations: 0 / 0.8683 GB, free: 61.02 MB / 0.545 GB Notification: Performance of Templates: time 0.3307/1.694, allocations: 82.82 MB / 0.9492 GB, free: 152.3 MB / 0.545 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