Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8966/0.8966, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.444e-05, allocations: 8.188 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.1705/0.1705, allocations: 1.706 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1715, allocations: 0.9792 MB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1716, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1719, allocations: 40.97 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1721, allocations: 104.7 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.1722, allocations: 84.61 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1723, allocations: 103.5 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.1724, allocations: 14.83 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.1725, allocations: 56.52 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.1726, allocations: 25.28 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1726, allocations: 7.438 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.1726, allocations: 42.27 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.1727, allocations: 25.69 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1727, allocations: 19.97 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1729, allocations: 129.1 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1729, allocations: 0 / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1729, allocations: 2.875 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1729, allocations: 0.625 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003773/0.1732, allocations: 363 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1733, allocations: 10.56 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.1733, allocations: 30.75 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1733, allocations: 14.06 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1735, allocations: 156.5 kB / 446.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1736, allocations: 6.938 kB / 446.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1736, allocations: 3.062 kB / 446.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1737, allocations: 60.58 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1737, allocations: 1.438 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1737, allocations: 3.938 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1737, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.1738, allocations: 21.81 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.174, allocations: 275.4 kB / 446.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1741, allocations: 56.61 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.1742, allocations: 20.02 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1742, allocations: 0 / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.961e-05/0.1743, allocations: 66.83 kB / 446.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1743, allocations: 0 / 446.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003626/0.1746, allocations: 183.3 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.1747, allocations: 57.34 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1748, allocations: 243.3 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.1748, allocations: 25.7 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1748, allocations: 107.3 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1748, allocations: 31.94 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.1749, allocations: 21.5 kB / 447.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.832e-05/0.1749, allocations: 330.6 kB / 447.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.1749, allocations: 25.23 kB / 447.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.175, allocations: 38.31 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.173e-05/0.175, allocations: 63.08 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.175, allocations: 4 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.848e-05/0.1751, allocations: 106.3 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1751, allocations: 5.938 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1751, allocations: 3.938 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1751, allocations: 0 / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.1752, allocations: 17.44 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1752, allocations: 2.156 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.1752, allocations: 9.906 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1752, allocations: 2.625 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.18e-05/0.1753, allocations: 147.9 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1753, allocations: 9.609 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.1755, allocations: 125.9 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1755, allocations: 2.875 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1755, allocations: 0 / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1755, allocations: 0 / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1757, allocations: 378.6 kB / 448.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1757, allocations: 0 / 448.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.1757, allocations: 8.531 kB / 448.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1757, allocations: 6.812 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1757, allocations: 3.188 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1757, allocations: 6.984 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1757, allocations: 3.938 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.1758, allocations: 215.3 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.1758, allocations: 16.92 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1758, allocations: 2.719 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.1759, allocations: 0 / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.1759, allocations: 16.89 kB / 448.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1759, allocations: 2.812 kB / 448.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.952e-05/0.176, allocations: 182.3 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.176, allocations: 0 / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.1762, allocations: 25.41 kB / 449 MB, free: 40.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008813/0.177, allocations: 1.15 MB / 450.2 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1772, allocations: 56.5 kB / 450.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1772, allocations: 0 / 450.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.1772, allocations: 28.3 kB / 450.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.1774, allocations: 40.02 kB / 450.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.1783, allocations: 1.753 MB / 452.1 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.1784, allocations: 102 kB / 452.2 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1784, allocations: 13.22 kB / 452.2 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1785, allocations: 43.45 kB / 452.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1785, allocations: 0 / 452.2 MB, free: 38.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1925, allocations: 4.463 MB / 456.7 MB, free: 36.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.964, allocations: 2.562 kB / 456.7 MB, free: 36.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.89185085054487]