Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 110.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 243.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2023/0.2023, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.08 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3304, allocations: 60.81 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01645/0.3469, allocations: 16.4 MB / 0.5356 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3589, allocations: 5.013 MB / 0.5405 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3627, allocations: 104.6 kB / 0.5406 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.3734, allocations: 5.201 MB / 0.5457 GB, free: 176 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007557/0.381, allocations: 2.569 MB / 0.5482 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.3842, allocations: 1.18 MB / 0.5493 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.3948, allocations: 6.666 MB / 0.5558 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009606/0.4044, allocations: 6.389 MB / 0.5621 GB, free: 352 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005246/0.4097, allocations: 2.637 MB / 0.5647 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006128/0.4159, allocations: 3.739 MB / 0.5683 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002171/0.418, allocations: 0.582 MB / 0.5689 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.4219, allocations: 1.303 MB / 0.5701 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004412/0.4264, allocations: 3.339 MB / 0.5734 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006648/0.433, allocations: 3.775 MB / 0.5771 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.4475, allocations: 11.5 MB / 0.5883 GB, free: 5.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4476, allocations: 0 / 0.5883 GB, free: 5.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4476, allocations: 0 / 0.5883 GB, free: 5.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005017/0.4481, allocations: 0 / 0.5883 GB, free: 5.375 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01882/0.4669, allocations: 7.798 MB / 0.5959 GB, free: 13.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.467, allocations: 8.031 kB / 0.5959 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4783, allocations: 2.659 MB / 0.5985 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007599/0.4859, allocations: 3.732 MB / 0.6022 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/0.4864, allocations: 439.5 kB / 0.6026 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.4886, allocations: 0.5659 MB / 0.6032 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04436/0.533, allocations: 20.26 MB / 0.623 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003366/0.5333, allocations: 75.34 kB / 0.623 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00194/0.5353, allocations: 271.8 kB / 0.6233 GB, free: 268 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005708/0.541, allocations: 3.337 MB / 0.6265 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03939/0.5804, allocations: 16.29 MB / 0.6424 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08646/0.6669, allocations: 65 MB / 0.7059 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/0.6848, allocations: 6.283 MB / 0.7121 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003607/0.6884, allocations: 2.085 MB / 0.7141 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4576/1.146, allocations: 9.125 MB / 0.723 GB, free: 165.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.146, allocations: 62.06 kB / 0.7231 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.911e-06/1.146, allocations: 0 / 0.7231 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05617/1.202, allocations: 21.3 MB / 0.7439 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/1.203, allocations: 161.5 kB / 0.744 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008742/1.211, allocations: 5.842 MB / 0.7497 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004287/1.212, allocations: 69.7 kB / 0.7498 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002559/1.214, allocations: 4.967 MB / 0.7547 GB, free: 149.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.215, allocations: 1.113 MB / 0.7557 GB, free: 148.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003337/1.219, allocations: 1.833 MB / 0.7575 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/1.219, allocations: 309.1 kB / 0.7578 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/1.223, allocations: 2.618 MB / 0.7604 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005934/1.229, allocations: 8.238 MB / 0.7684 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.239, allocations: 11.82 MB / 0.78 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/1.239, allocations: 56 kB / 0.78 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01768/1.257, allocations: 10.56 MB / 0.7903 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/1.257, allocations: 92 kB / 0.7904 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004469/1.258, allocations: 196.6 kB / 0.7906 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/1.258, allocations: 264 kB / 0.7909 GB, free: 107 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007031/1.265, allocations: 2.215 MB / 0.793 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00033/1.266, allocations: 398.6 kB / 0.7934 GB, free: 104.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006194/1.272, allocations: 448.4 kB / 0.7938 GB, free: 104 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.273, allocations: 0.5538 MB / 0.7944 GB, free: 103.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1192): * Single equations (assignments): 1189 * 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.005431/1.279, allocations: 3.232 MB / 0.7975 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.28, allocations: 0.5168 MB / 0.798 GB, free: 99.68 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/1.285, allocations: 2.957 MB / 0.8009 GB, free: 96.71 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/1.285, allocations: 32.47 kB / 0.801 GB, free: 96.68 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/1.285, allocations: 0 / 0.801 GB, free: 96.68 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/1.285, allocations: 19.89 kB / 0.801 GB, free: 96.66 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.306, allocations: 12.41 MB / 0.8131 GB, free: 83.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.472e-05/1.306, allocations: 32.22 kB / 0.8131 GB, free: 83.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.308, allocations: 0.5381 MB / 0.8136 GB, free: 83.21 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.961e-05/1.308, allocations: 51.92 kB / 0.8137 GB, free: 83.16 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/1.308, allocations: 88 kB / 0.8138 GB, free: 83.08 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.84e-05/1.308, allocations: 67.72 kB / 0.8138 GB, free: 83.01 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-05/1.308, allocations: 51.75 kB / 0.8139 GB, free: 82.96 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/1.314, allocations: 5.536 MB / 0.8193 GB, free: 76.89 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.315, allocations: 0.584 MB / 0.8199 GB, free: 76.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.316, allocations: 103.6 kB / 0.82 GB, free: 76.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/1.319, allocations: 127.9 kB / 0.8201 GB, free: 76.06 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/1.319, allocations: 267.9 kB / 0.8203 GB, free: 75.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.319, allocations: 120 kB / 0.8205 GB, free: 75.68 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006202/1.326, allocations: 3.634 MB / 0.824 GB, free: 72.05 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.41e-07/1.326, allocations: 0 / 0.824 GB, free: 72.05 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008955/1.335, allocations: 1.458 MB / 0.8254 GB, free: 70.59 MB / 0.5607 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.0008676/1.336, allocations: 266.9 kB / 0.8257 GB, free: 70.33 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008687/1.344, allocations: 6.057 MB / 0.8316 GB, free: 64.32 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/1.344, allocations: 4.062 kB / 0.8316 GB, free: 64.32 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.346, allocations: 1.343 MB / 0.8329 GB, free: 62.99 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/1.351, allocations: 0.7898 MB / 0.8337 GB, free: 62.21 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.377, allocations: 15.29 MB / 0.8486 GB, free: 46.46 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006868/1.383, allocations: 4.878 MB / 0.8534 GB, free: 41.55 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/1.385, allocations: 459.4 kB / 0.8538 GB, free: 41.11 MB / 0.5607 GB Notification: Performance of SimCode: time 8.42e-07/1.385, allocations: 0 / 0.8538 GB, free: 41.11 MB / 0.5607 GB Notification: Performance of Templates: time 0.1143/1.499, allocations: 85.94 MB / 0.9378 GB, free: 3.27 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches