Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109.7 kB / 16.41 MB, free: 6.445 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.001449/0.001449, allocations: 185.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002176, allocations: 68.36 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09894, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01952/0.1185, allocations: 17.63 MB / 0.5046 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1298, allocations: 5.208 MB / 0.5097 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.1324, allocations: 103.8 kB / 0.5098 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.1425, allocations: 5.245 MB / 0.5149 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007019/0.1495, allocations: 2.73 MB / 0.5176 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.1525, allocations: 1.182 MB / 0.5188 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1625, allocations: 7.028 MB / 0.5256 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2096/0.3721, allocations: 6.532 MB / 0.532 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.3767, allocations: 2.791 MB / 0.5347 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.3825, allocations: 3.986 MB / 0.5386 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.3849, allocations: 0.6245 MB / 0.5392 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.389, allocations: 1.32 MB / 0.5405 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005085/0.3941, allocations: 3.514 MB / 0.544 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007242/0.4014, allocations: 4.022 MB / 0.5479 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.4162, allocations: 12.33 MB / 0.5599 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4162, allocations: 2.875 kB / 0.5599 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4162, allocations: 0 / 0.5599 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004348/0.4167, allocations: 0 / 0.5599 GB, free: 0.8047 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02256/0.4392, allocations: 8.477 MB / 0.5682 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4393, allocations: 13.83 kB / 0.5682 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003964/0.4433, allocations: 1.291 MB / 0.5695 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.4556, allocations: 2.807 MB / 0.5722 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.4657, allocations: 5.218 MB / 0.5773 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/0.4661, allocations: 469.6 kB / 0.5778 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.4685, allocations: 0.5922 MB / 0.5783 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04918/0.5177, allocations: 21.21 MB / 0.5991 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/0.518, allocations: 75.47 kB / 0.5991 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002118/0.5202, allocations: 284.7 kB / 0.5994 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0066/0.5268, allocations: 3.538 MB / 0.6029 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04247/0.5693, allocations: 17.21 MB / 0.6197 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09505/0.6644, allocations: 67.67 MB / 0.6857 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/0.6833, allocations: 6.675 MB / 0.6923 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004046/0.6873, allocations: 2.335 MB / 0.6945 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.017/0.7044, allocations: 9.797 MB / 0.7041 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.7045, allocations: 64.56 kB / 0.7042 GB, free: 5.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 5.63e-06/0.7045, allocations: 0 / 0.7042 GB, free: 5.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.06649/0.771, allocations: 23.28 MB / 0.7269 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.7711, allocations: 165.4 kB / 0.7271 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/0.7813, allocations: 6.085 MB / 0.733 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005416/0.7819, allocations: 73.7 kB / 0.7331 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004483/0.7864, allocations: 5.412 MB / 0.7384 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.7879, allocations: 1.305 MB / 0.7396 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00299/0.7909, allocations: 1.934 MB / 0.7415 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7911, allocations: 305.1 kB / 0.7418 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005328/0.7964, allocations: 2.826 MB / 0.7446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/0.807, allocations: 8.643 MB / 0.753 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2296/1.037, allocations: 12.47 MB / 0.7652 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.037, allocations: 57.66 kB / 0.7652 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.02166/1.059, allocations: 11.22 MB / 0.7762 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/1.059, allocations: 90.78 kB / 0.7763 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000305/1.059, allocations: 206.9 kB / 0.7765 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/1.059, allocations: 271.5 kB / 0.7767 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007358/1.067, allocations: 2.342 MB / 0.779 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003023/1.067, allocations: 407.5 kB / 0.7794 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006428/1.073, allocations: 477.7 kB / 0.7799 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.075, allocations: 0.576 MB / 0.7804 GB, free: 183.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1255): * Single equations (assignments): 1252 * 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.005773/1.081, allocations: 3.39 MB / 0.7837 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000865/1.081, allocations: 0.578 MB / 0.7843 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005549/1.087, allocations: 3.454 MB / 0.7877 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.087, allocations: 35.16 kB / 0.7877 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.087, allocations: 1.078 kB / 0.7877 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/1.087, allocations: 21.81 kB / 0.7877 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.108, allocations: 13.77 MB / 0.8012 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-05/1.108, allocations: 39.83 kB / 0.8012 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.11, allocations: 0.614 MB / 0.8018 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-05/1.11, allocations: 51.94 kB / 0.8019 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/1.11, allocations: 103.4 kB / 0.802 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-05/1.11, allocations: 67.36 kB / 0.802 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-05/1.11, allocations: 51.75 kB / 0.8021 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/1.117, allocations: 6.345 MB / 0.8083 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.118, allocations: 0.8723 MB / 0.8091 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007213/1.119, allocations: 107.5 kB / 0.8092 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.121, allocations: 138.5 kB / 0.8094 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/1.121, allocations: 303.9 kB / 0.8097 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.122, allocations: 131.8 kB / 0.8098 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005171/1.127, allocations: 3.777 MB / 0.8135 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.127, allocations: 0 / 0.8135 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007684/1.135, allocations: 1.557 MB / 0.815 GB, free: 160.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.006978/1.142, allocations: 7.075 MB / 0.8219 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009209/1.151, allocations: 6.562 MB / 0.8283 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.272e-05/1.151, allocations: 4 kB / 0.8283 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/1.153, allocations: 1.568 MB / 0.8298 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/1.159, allocations: 0.7926 MB / 0.8306 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08445/1.244, allocations: 72.86 MB / 0.9018 GB, free: 63.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005949/1.249, allocations: 5.143 MB / 0.9068 GB, free: 58.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005556/1.255, allocations: 2.758 MB / 0.9095 GB, free: 55.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004066/1.259, allocations: 3.491 MB / 0.9129 GB, free: 51.75 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/1.259, allocations: 0 / 0.9129 GB, free: 51.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3491/1.608, allocations: 99.53 MB / 1.01 GB, free: 195.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.43/24.04, allocations: 3.188 kB / 1.01 GB, free: 195.4 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0028 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches