Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_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.001164/0.001164, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001137/0.001137, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.434/1.434, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2438/0.2438, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 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.001488/0.001488, allocations: 73.3 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1218, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007399/0.1292, allocations: 4.087 MB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1323, allocations: 1.115 MB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.1328, allocations: 11.94 kB / 445.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1333, allocations: 102.9 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.1338, allocations: 194.2 kB / 446.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.1346, allocations: 195.6 kB / 446.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007594/0.1353, allocations: 0.7707 MB / 447.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.1358, allocations: 243.5 kB / 447.3 MB, free: 68 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.1363, allocations: 298.9 kB / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.1368, allocations: 338.5 kB / 447.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.1369, allocations: 56 kB / 448 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.1372, allocations: 91.86 kB / 448.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1374, allocations: 147.4 kB / 448.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.1378, allocations: 350.3 kB / 448.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1388, allocations: 0.7435 MB / 449.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1388, allocations: 3.984 kB / 449.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1388, allocations: 4 kB / 449.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1389, allocations: 0 / 449.3 MB, free: 14.05 MB / 334.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.002667/0.1415, allocations: 1.001 MB / 450.3 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.1416, allocations: 15.89 kB / 450.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.1418, allocations: 94.7 kB / 450.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.142, allocations: 84 kB / 450.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.1427, allocations: 393.8 kB / 450.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.1427, allocations: 41.69 kB / 450.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1429, allocations: 68.28 kB / 451 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.1446, allocations: 0.6227 MB / 451.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.1447, allocations: 11.89 kB / 451.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.1447, allocations: 28 kB / 451.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1448, allocations: 12 kB / 451.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.1465, allocations: 0.5332 MB / 452.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.1511, allocations: 2.161 MB / 454.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.1529, allocations: 0.7003 MB / 455.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/0.1538, allocations: 347.5 kB / 455.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.154, allocations: 97.47 kB / 455.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/0.1541, allocations: 50.95 kB / 455.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 5.119e-06/0.1541, allocations: 7.938 kB / 455.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.01198/0.1661, allocations: 4.492 MB / 460.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.1663, allocations: 222.1 kB / 460.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/0.1668, allocations: 367.3 kB / 460.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.1669, allocations: 45.7 kB / 460.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.1672, allocations: 265.1 kB / 460.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.1676, allocations: 414 kB / 461.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.168, allocations: 178.9 kB / 461.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.1682, allocations: 382.8 kB / 461.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009258/0.1692, allocations: 310.4 kB / 462.2 MB, free: 404 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.1703, allocations: 0.5121 MB / 462.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.1724, allocations: 0.8816 MB / 463.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.1724, allocations: 0 / 463.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0026/0.175, allocations: 0.9997 MB / 464.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.1751, allocations: 8 kB / 464.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1751, allocations: 4 kB / 464.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.981e-05/0.1752, allocations: 12 kB / 464.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.1766, allocations: 280 kB / 464.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/0.1767, allocations: 16 kB / 464.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/0.1774, allocations: 51.97 kB / 464.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.1775, allocations: 39.98 kB / 465 MB, free: 13.46 MB / 350.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.0004207/0.1779, allocations: 233.5 kB / 465.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.1783, allocations: 75.23 kB / 465.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000652/0.179, allocations: 227.1 kB / 465.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.179, allocations: 12 kB / 465.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/0.1791, allocations: 0 / 465.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.1791, allocations: 15.91 kB / 465.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/0.1844, allocations: 2.343 MB / 467.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.1844, allocations: 4.094 kB / 467.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.1859, allocations: 255.9 kB / 468.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.186, allocations: 15.94 kB / 468.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.77e-05/0.1861, allocations: 24.05 kB / 468.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.106e-05/0.1861, allocations: 16.33 kB / 468.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.1861, allocations: 4 kB / 468.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.1898, allocations: 1.904 MB / 470.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.1902, allocations: 196.2 kB / 470.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/0.1903, allocations: 23.94 kB / 470.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.1909, allocations: 51.91 kB / 470.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.1911, allocations: 88.33 kB / 470.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.1912, allocations: 35.98 kB / 470.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.1915, allocations: 251.2 kB / 470.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1915, allocations: 0 / 470.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009585/0.1924, allocations: 196 kB / 470.9 MB, free: 7.348 MB / 350.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.002994/0.1955, allocations: 2.477 MB / 473.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.1975, allocations: 0.889 MB / 474.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1975, allocations: 0 / 474.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.1984, allocations: 0.4922 MB / 474.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.1997, allocations: 134.3 kB / 474.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.2097, allocations: 7.349 MB / 482.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.2103, allocations: 0.9517 MB / 483.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000444/0.2108, allocations: 97.75 kB / 483.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.2111, allocations: 259.3 kB / 483.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2111, allocations: 7.938 kB / 483.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.2465, allocations: 13.57 MB / 497.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.16, allocations: 8.047 kB / 497.1 MB, free: 12.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches