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.001518/0.001518, allocations: 109.4 kB / 18.39 MB, free: 4.785 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.001665/0.001665, allocations: 192 kB / 19.33 MB, free: 3.852 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.346/1.346, allocations: 222.9 MB / 243 MB, free: 15.17 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.2103/0.2103, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 65.91 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1471, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01681/0.1639, allocations: 16.39 MB / 487.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1744, allocations: 5.032 MB / 492.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.1774, allocations: 99.75 kB / 492.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009494/0.1869, allocations: 5.187 MB / 497.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007921/0.1949, allocations: 2.567 MB / 500 MB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.198, allocations: 1.178 MB / 0.4894 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009974/0.208, allocations: 6.667 MB / 0.4959 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008906/0.2169, allocations: 6.394 MB / 0.5022 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2477/0.4646, allocations: 2.634 MB / 0.5047 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007813/0.4725, allocations: 3.729 MB / 0.5084 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003159/0.4757, allocations: 0.5841 MB / 0.5089 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/0.481, allocations: 1.3 MB / 0.5102 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00852/0.4895, allocations: 3.316 MB / 0.5135 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01453/0.5041, allocations: 3.782 MB / 0.5171 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02145/0.5256, allocations: 11.48 MB / 0.5284 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5257, allocations: 0.625 kB / 0.5284 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5257, allocations: 1.875 kB / 0.5284 GB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005465/0.5262, allocations: 0 / 0.5284 GB, free: 12.91 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02217/0.5484, allocations: 7.806 MB / 0.536 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5485, allocations: 10.72 kB / 0.536 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.5585, allocations: 2.655 MB / 0.5386 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009295/0.5678, allocations: 3.735 MB / 0.5422 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.5681, allocations: 441.6 kB / 0.5427 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/0.5698, allocations: 0.5575 MB / 0.5432 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04178/0.6116, allocations: 20.28 MB / 0.563 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/0.6118, allocations: 69.75 kB / 0.5631 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009059/0.6127, allocations: 270.1 kB / 0.5633 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005368/0.6181, allocations: 3.341 MB / 0.5666 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03838/0.6565, allocations: 16.29 MB / 0.5825 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0915/0.7481, allocations: 65 MB / 0.646 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01709/0.7652, allocations: 6.283 MB / 0.6521 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.7688, allocations: 2.052 MB / 0.6541 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0175/0.7864, allocations: 9.131 MB / 0.663 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.7865, allocations: 67.83 kB / 0.6631 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 6.382e-06/0.7865, allocations: 4 kB / 0.6631 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.05798/0.8445, allocations: 21.29 MB / 0.6839 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.8446, allocations: 158.5 kB / 0.684 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/0.8547, allocations: 5.841 MB / 0.6898 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000589/0.8553, allocations: 66.27 kB / 0.6898 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003709/0.8591, allocations: 4.955 MB / 0.6947 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/0.8606, allocations: 1.116 MB / 0.6957 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002713/0.8633, allocations: 1.837 MB / 0.6975 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.8634, allocations: 301.1 kB / 0.6978 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004253/0.8677, allocations: 2.626 MB / 0.7004 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2741/1.142, allocations: 8.236 MB / 0.7084 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/1.157, allocations: 11.82 MB / 0.72 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004458/1.157, allocations: 55.91 kB / 0.72 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.023/1.18, allocations: 10.58 MB / 0.7304 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/1.181, allocations: 96.5 kB / 0.7304 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/1.181, allocations: 196.5 kB / 0.7306 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/1.181, allocations: 269.8 kB / 0.7309 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007051/1.188, allocations: 2.207 MB / 0.733 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003523/1.189, allocations: 389.9 kB / 0.7334 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007675/1.196, allocations: 451.7 kB / 0.7339 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.198, allocations: 0.5443 MB / 0.7344 GB, free: 162 MB / 0.5294 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.007082/1.205, allocations: 3.229 MB / 0.7375 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009541/1.206, allocations: 0.5216 MB / 0.738 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00466/1.211, allocations: 2.965 MB / 0.7409 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/1.211, allocations: 30.44 kB / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.211, allocations: 0 / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/1.211, allocations: 16.03 kB / 0.741 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.233, allocations: 12.42 MB / 0.7531 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/1.233, allocations: 32.66 kB / 0.7531 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.235, allocations: 0.5275 MB / 0.7537 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.684e-05/1.235, allocations: 48 kB / 0.7537 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/1.235, allocations: 99.69 kB / 0.7538 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.812e-05/1.235, allocations: 65.36 kB / 0.7539 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/1.235, allocations: 51.75 kB / 0.7539 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008842/1.244, allocations: 5.541 MB / 0.7593 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.246, allocations: 0.5824 MB / 0.7599 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.248, allocations: 95.3 kB / 0.76 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003407/1.251, allocations: 131.2 kB / 0.7601 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/1.252, allocations: 275.5 kB / 0.7604 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.252, allocations: 124.6 kB / 0.7605 GB, free: 144 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008874/1.261, allocations: 3.625 MB / 0.764 GB, free: 141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.41e-07/1.261, allocations: 4 kB / 0.764 GB, free: 141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01479/1.275, allocations: 1.464 MB / 0.7655 GB, free: 139.6 MB / 0.5294 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.0008802/1.276, allocations: 264.3 kB / 0.7657 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.29, allocations: 6.054 MB / 0.7716 GB, free: 134 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-05/1.29, allocations: 9.625 kB / 0.7716 GB, free: 134 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.292, allocations: 1.341 MB / 0.7729 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006985/1.299, allocations: 0.7813 MB / 0.7737 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03838/1.338, allocations: 14.58 MB / 0.7879 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01254/1.35, allocations: 4.882 MB / 0.7927 GB, free: 113 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009856/1.36, allocations: 2.607 MB / 0.7953 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.362, allocations: 387.4 kB / 0.7956 GB, free: 110 MB / 0.5294 GB Notification: Performance of SimCode: time 1.754e-06/1.362, allocations: 0 / 0.7956 GB, free: 110 MB / 0.5294 GB Notification: Performance of Templates: time 0.09143/1.454, allocations: 39.3 MB / 0.834 GB, free: 71.14 MB / 0.5294 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 -s cvode -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