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.001292/0.001292, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001399/0.001399, allocations: 181 kB / 18.71 MB, free: 4.207 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2163/0.2163, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3587, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01801/0.3768, allocations: 16.41 MB / 0.5349 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3895, allocations: 5.01 MB / 0.5398 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/0.3948, allocations: 100.2 kB / 0.5399 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.407, allocations: 5.202 MB / 0.545 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00811/0.4152, allocations: 2.561 MB / 0.5475 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.4191, allocations: 1.179 MB / 0.5487 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.4302, allocations: 6.666 MB / 0.5552 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009943/0.4402, allocations: 6.39 MB / 0.5614 GB, free: 392 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006895/0.4472, allocations: 2.636 MB / 0.564 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006683/0.4539, allocations: 3.735 MB / 0.5676 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.456, allocations: 0.582 MB / 0.5682 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.4601, allocations: 1.303 MB / 0.5695 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004464/0.4646, allocations: 3.32 MB / 0.5727 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006392/0.471, allocations: 3.779 MB / 0.5764 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.4854, allocations: 11.54 MB / 0.5877 GB, free: 5.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4855, allocations: 0 / 0.5877 GB, free: 5.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4855, allocations: 4 kB / 0.5877 GB, free: 5.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004137/0.4859, allocations: 0 / 0.5877 GB, free: 5.387 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.01812/0.504, allocations: 8 MB / 0.5955 GB, free: 13.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5041, allocations: 8.031 kB / 0.5955 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.5143, allocations: 2.707 MB / 0.5981 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007751/0.5221, allocations: 3.741 MB / 0.6018 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/0.5226, allocations: 439.5 kB / 0.6022 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.5248, allocations: 0.57 MB / 0.6028 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04611/0.5709, allocations: 20.27 MB / 0.6226 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/0.5712, allocations: 71.45 kB / 0.6226 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/0.5731, allocations: 271.8 kB / 0.6229 GB, free: 16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005748/0.5789, allocations: 3.333 MB / 0.6262 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03907/0.618, allocations: 16.29 MB / 0.6421 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09365/0.7117, allocations: 65.14 MB / 0.7057 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.7293, allocations: 6.283 MB / 0.7118 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003897/0.7332, allocations: 2.081 MB / 0.7138 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5762/1.309, allocations: 9.148 MB / 0.7228 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/1.31, allocations: 70.72 kB / 0.7228 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.791e-06/1.31, allocations: 0 / 0.7228 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05163/1.361, allocations: 21.68 MB / 0.744 GB, free: 157.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/1.361, allocations: 153.3 kB / 0.7442 GB, free: 157.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005954/1.367, allocations: 5.858 MB / 0.7499 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003782/1.368, allocations: 69.7 kB / 0.75 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.37, allocations: 5.169 MB / 0.755 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009207/1.371, allocations: 1.164 MB / 0.7561 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/1.372, allocations: 1.84 MB / 0.7579 GB, free: 146.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/1.373, allocations: 313.1 kB / 0.7582 GB, free: 146 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/1.376, allocations: 2.622 MB / 0.7608 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/1.381, allocations: 8.233 MB / 0.7688 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009094/1.39, allocations: 11.81 MB / 0.7804 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.39, allocations: 56 kB / 0.7804 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01515/1.405, allocations: 10.61 MB / 0.7908 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/1.405, allocations: 88.97 kB / 0.7909 GB, free: 107.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/1.406, allocations: 200 kB / 0.7911 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/1.406, allocations: 264 kB / 0.7913 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/1.412, allocations: 2.211 MB / 0.7935 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002771/1.413, allocations: 386.5 kB / 0.7938 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007517/1.42, allocations: 455.6 kB / 0.7943 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.421, allocations: 0.543 MB / 0.7948 GB, free: 103.1 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.006615/1.428, allocations: 3.236 MB / 0.798 GB, free: 99.85 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.429, allocations: 0.5472 MB / 0.7985 GB, free: 99.3 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004319/1.434, allocations: 2.961 MB / 0.8014 GB, free: 96.32 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/1.434, allocations: 35.09 kB / 0.8014 GB, free: 96.29 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.434, allocations: 0 / 0.8014 GB, free: 96.29 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/1.434, allocations: 15.89 kB / 0.8014 GB, free: 96.27 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.449, allocations: 12.43 MB / 0.8136 GB, free: 83.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/1.449, allocations: 28 kB / 0.8136 GB, free: 83.35 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.451, allocations: 0.531 MB / 0.8141 GB, free: 82.82 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/1.451, allocations: 51.94 kB / 0.8142 GB, free: 82.77 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1.451, allocations: 91.98 kB / 0.8143 GB, free: 82.68 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.558e-05/1.451, allocations: 63.8 kB / 0.8143 GB, free: 82.62 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.176e-05/1.451, allocations: 51.73 kB / 0.8144 GB, free: 82.57 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/1.457, allocations: 5.565 MB / 0.8198 GB, free: 76.48 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.458, allocations: 0.6168 MB / 0.8204 GB, free: 75.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006205/1.458, allocations: 95.97 kB / 0.8205 GB, free: 75.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.46, allocations: 127.8 kB / 0.8206 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/1.46, allocations: 275.9 kB / 0.8209 GB, free: 75.35 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.461, allocations: 116 kB / 0.821 GB, free: 75.24 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004685/1.465, allocations: 3.63 MB / 0.8245 GB, free: 71.61 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.4e-07/1.465, allocations: 0 / 0.8245 GB, free: 71.61 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006774/1.472, allocations: 1.472 MB / 0.826 GB, free: 70.14 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.0004778/1.473, allocations: 261.6 kB / 0.8262 GB, free: 69.87 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009283/1.482, allocations: 6.051 MB / 0.8321 GB, free: 63.85 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-05/1.482, allocations: 8 kB / 0.8321 GB, free: 63.84 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.484, allocations: 1.342 MB / 0.8335 GB, free: 62.52 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007485/1.491, allocations: 0.786 MB / 0.8342 GB, free: 61.74 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.516, allocations: 14.81 MB / 0.8487 GB, free: 46.46 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006709/1.523, allocations: 4.89 MB / 0.8535 GB, free: 41.54 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005548/1.528, allocations: 2.603 MB / 0.856 GB, free: 38.93 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/1.529, allocations: 383.4 kB / 0.8564 GB, free: 38.55 MB / 0.5607 GB Notification: Performance of SimCode: time 8.52e-07/1.529, allocations: 4 kB / 0.8564 GB, free: 38.55 MB / 0.5607 GB Notification: Performance of Templates: time 0.07584/1.605, allocations: 42.22 MB / 0.8976 GB, free: 12.65 MB / 0.5763 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/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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches