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.001696/0.001696, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2467/0.2467, allocations: 46.13 MB / 344.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.06 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1387, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02006/0.1588, allocations: 16.08 MB / 496.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1711, allocations: 4.989 MB / 0.4894 GB, free: 8 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.1745, allocations: 99.8 kB / 0.4895 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.1848, allocations: 5.171 MB / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007749/0.1927, allocations: 2.458 MB / 0.497 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.1961, allocations: 1.182 MB / 0.4981 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.207, allocations: 6.662 MB / 0.5046 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2914/0.4984, allocations: 6.327 MB / 0.5108 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006223/0.5047, allocations: 2.585 MB / 0.5133 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008253/0.513, allocations: 3.665 MB / 0.5169 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003381/0.5164, allocations: 0.571 MB / 0.5175 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.5217, allocations: 1.274 MB / 0.5187 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005864/0.5276, allocations: 3.209 MB / 0.5219 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006681/0.5343, allocations: 3.655 MB / 0.5254 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.5472, allocations: 10.71 MB / 0.5359 GB, free: 4.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5472, allocations: 0 / 0.5359 GB, free: 4.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5472, allocations: 0 / 0.5359 GB, free: 4.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004957/0.5477, allocations: 0 / 0.5359 GB, free: 4.07 MB / 382.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.02165/0.5694, allocations: 7.581 MB / 0.5433 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5695, allocations: 8.875 kB / 0.5433 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.581, allocations: 2.588 MB / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009/0.59, allocations: 3.522 MB / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004458/0.5905, allocations: 433.8 kB / 0.5497 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/0.593, allocations: 0.55 MB / 0.5502 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04938/0.6424, allocations: 19.75 MB / 0.5695 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/0.6427, allocations: 67.67 kB / 0.5696 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/0.644, allocations: 264.6 kB / 0.5698 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005301/0.6493, allocations: 3.16 MB / 0.5729 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04385/0.6931, allocations: 15.86 MB / 0.5884 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09423/0.7874, allocations: 64.02 MB / 0.6509 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/0.8064, allocations: 6.32 MB / 0.6571 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/0.8102, allocations: 2.046 MB / 0.6591 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01893/0.8291, allocations: 9.184 MB / 0.6681 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.311e-05/0.8293, allocations: 63.84 kB / 0.6681 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 6.672e-06/0.8293, allocations: 0 / 0.6681 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.06272/0.892, allocations: 21.37 MB / 0.689 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.8922, allocations: 159.8 kB / 0.6891 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/0.9024, allocations: 5.752 MB / 0.6948 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006179/0.9031, allocations: 65.7 kB / 0.6948 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004192/0.9073, allocations: 4.839 MB / 0.6995 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001796/0.9091, allocations: 1.117 MB / 0.7006 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002947/0.9121, allocations: 1.815 MB / 0.7024 GB, free: 12.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9122, allocations: 305.1 kB / 0.7027 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004886/0.9171, allocations: 2.634 MB / 0.7053 GB, free: 9.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2915/1.209, allocations: 8.198 MB / 0.7133 GB, free: 181.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.224, allocations: 11.77 MB / 0.7248 GB, free: 172.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002426/1.224, allocations: 55.5 kB / 0.7248 GB, free: 172.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02437/1.248, allocations: 10.54 MB / 0.7351 GB, free: 169 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/1.249, allocations: 90.08 kB / 0.7352 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004081/1.249, allocations: 196 kB / 0.7354 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/1.249, allocations: 264.4 kB / 0.7356 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008235/1.258, allocations: 2.208 MB / 0.7378 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/1.258, allocations: 390.8 kB / 0.7382 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007987/1.266, allocations: 453.3 kB / 0.7386 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/1.268, allocations: 0.548 MB / 0.7391 GB, free: 168.4 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.007057/1.275, allocations: 3.143 MB / 0.7422 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.276, allocations: 0.5088 MB / 0.7427 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/1.281, allocations: 2.994 MB / 0.7456 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/1.281, allocations: 32.83 kB / 0.7457 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.281, allocations: 2.5 kB / 0.7457 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/1.281, allocations: 12.8 kB / 0.7457 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.3, allocations: 12.28 MB / 0.7577 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/1.3, allocations: 32 kB / 0.7577 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.302, allocations: 0.5461 MB / 0.7582 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.921e-05/1.302, allocations: 44 kB / 0.7583 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.303, allocations: 97.66 kB / 0.7584 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.304e-05/1.303, allocations: 67.25 kB / 0.7584 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.029e-05/1.303, allocations: 47.81 kB / 0.7585 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/1.308, allocations: 5.601 MB / 0.7639 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.31, allocations: 0.5782 MB / 0.7645 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/1.311, allocations: 100.1 kB / 0.7646 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.313, allocations: 138 kB / 0.7647 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/1.313, allocations: 275.9 kB / 0.765 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.313, allocations: 122.3 kB / 0.7651 GB, free: 153.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005737/1.319, allocations: 3.572 MB / 0.7686 GB, free: 150.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/1.319, allocations: 0 / 0.7686 GB, free: 150.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009124/1.328, allocations: 1.411 MB / 0.77 GB, free: 148.9 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.0009883/1.329, allocations: 265 kB / 0.7702 GB, free: 148.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.012/1.341, allocations: 6.583 MB / 0.7767 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.22e-05/1.341, allocations: 4 kB / 0.7767 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/1.343, allocations: 1.368 MB / 0.778 GB, free: 141.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/1.348, allocations: 0.7599 MB / 0.7787 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.37, allocations: 14.44 MB / 0.7928 GB, free: 127 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/1.375, allocations: 4.752 MB / 0.7975 GB, free: 122.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005889/1.381, allocations: 2.575 MB / 0.8 GB, free: 119.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/1.382, allocations: 383.4 kB / 0.8004 GB, free: 119.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.382, allocations: 3.828 kB / 0.8004 GB, free: 119.3 MB / 0.545 GB Notification: Performance of Templates: time 0.08609/1.468, allocations: 46.54 MB / 0.8458 GB, free: 72.96 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/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) Reference file matches