Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",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.001611/0.001611, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001811/0.001811, allocations: 192 kB / 18.56 MB, free: 4.434 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.46/1.46, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2191/0.2191, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 66.77 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1178, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005331/0.1232, allocations: 4.102 MB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1258, allocations: 1.071 MB / 474.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.1265, allocations: 19.94 kB / 474.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.127, allocations: 102.9 kB / 474.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007259/0.1277, allocations: 198.2 kB / 474.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.1284, allocations: 191.6 kB / 475 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1295, allocations: 0.7745 MB / 475.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.13, allocations: 243.3 kB / 476 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.1305, allocations: 303 kB / 476.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.1311, allocations: 338.5 kB / 476.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.1312, allocations: 60 kB / 476.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1314, allocations: 87.94 kB / 476.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.1316, allocations: 143.5 kB / 476.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.1319, allocations: 346.2 kB / 477.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008442/0.1328, allocations: 0.7554 MB / 478 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1328, allocations: 0 / 478 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1328, allocations: 4 kB / 478 MB, free: 5.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1328, allocations: 0 / 478 MB, free: 5.523 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001795/0.1346, allocations: 0.9974 MB / 479 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1347, allocations: 12.03 kB / 479.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.1348, allocations: 102.7 kB / 479.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1349, allocations: 76.09 kB / 479.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.1354, allocations: 393.8 kB / 479.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.1355, allocations: 45.69 kB / 479.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.1356, allocations: 64.28 kB / 479.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1368, allocations: 0.6227 MB / 480.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.1368, allocations: 11.91 kB / 480.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.1369, allocations: 20 kB / 480.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1369, allocations: 19.98 kB / 480.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1381, allocations: 0.5333 MB / 480.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.1412, allocations: 2.169 MB / 483.1 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1425, allocations: 0.703 MB / 483.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.1431, allocations: 339.5 kB / 484.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.1432, allocations: 109.4 kB / 484.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1433, allocations: 43 kB / 484.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.1433, allocations: 0 / 484.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.007949/0.1512, allocations: 4.497 MB / 488.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.1514, allocations: 222.1 kB / 489 MB, free: 9.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.1518, allocations: 362 kB / 489.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.1518, allocations: 45.7 kB / 489.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.152, allocations: 261 kB / 489.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.1523, allocations: 414 kB / 490 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.1525, allocations: 186.9 kB / 490.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1527, allocations: 374.8 kB / 490.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.1533, allocations: 322.4 kB / 490.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.154, allocations: 0.5043 MB / 491.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.1555, allocations: 0.8652 MB / 492.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1555, allocations: 0 / 492.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001861/0.1574, allocations: 1.019 MB / 493.3 MB, free: 5.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.1574, allocations: 10.19 kB / 493.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.1574, allocations: 4 kB / 493.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.1575, allocations: 12 kB / 493.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.1585, allocations: 275.6 kB / 493.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.1585, allocations: 16.45 kB / 493.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.159, allocations: 48.09 kB / 493.7 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.159, allocations: 44 kB / 493.7 MB, free: 4.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * 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.000291/0.1593, allocations: 229.5 kB / 493.9 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.1595, allocations: 75.09 kB / 494 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.16, allocations: 227.2 kB / 494.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.16, allocations: 16 kB / 494.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.16, allocations: 0 / 494.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.16, allocations: 11.98 kB / 494.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.1636, allocations: 2.347 MB / 496.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.1637, allocations: 7.984 kB / 496.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.1647, allocations: 247.7 kB / 496.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.1647, allocations: 11.94 kB / 496.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.1648, allocations: 28 kB / 496.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.1648, allocations: 20.2 kB / 496.9 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1648, allocations: 4 kB / 496.9 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.1673, allocations: 1.897 MB / 498.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.1676, allocations: 200.2 kB / 499 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.1677, allocations: 31.94 kB / 499 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.1683, allocations: 43.97 kB / 499.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.1685, allocations: 88.33 kB / 499.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.1685, allocations: 31.98 kB / 499.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.1688, allocations: 251.2 kB / 499.4 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1688, allocations: 4 kB / 499.4 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008985/0.1697, allocations: 196 kB / 499.6 MB, free: 14.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * 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.002833/0.1726, allocations: 2.472 MB / 0.4903 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.1745, allocations: 0.8976 MB / 0.4912 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1745, allocations: 0 / 0.4912 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.1753, allocations: 0.4915 MB / 0.4917 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.1765, allocations: 132.9 kB / 0.4918 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009514/0.1861, allocations: 7.357 MB / 0.499 GB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.1866, allocations: 0.9439 MB / 0.4999 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.187, allocations: 101.8 kB / 0.5 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.1874, allocations: 263.3 kB / 0.5003 GB, free: 1.777 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1874, allocations: 0 / 0.5003 GB, free: 1.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/0.4019, allocations: 13.54 MB / 0.5135 GB, free: 47.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.203, allocations: 3.844 kB / 0.5135 GB, free: 47.67 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches