Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0008776/0.0008776, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009634/0.0009634, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8783/0.8783, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2263/0.2263, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.017e-05, allocations: 4.25 kB / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.1731/0.1731, allocations: 1.654 MB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1743, allocations: 0.9596 MB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.1743, allocations: 6.969 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1746, allocations: 61.08 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.1749, allocations: 115.4 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.175, allocations: 79.47 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1752, allocations: 108.4 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1752, allocations: 3.641 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.1753, allocations: 62.83 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1754, allocations: 45.2 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1754, allocations: 3.562 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.1755, allocations: 34.5 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.1755, allocations: 23.25 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.1756, allocations: 12.81 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1757, allocations: 106.2 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1757, allocations: 0 / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1757, allocations: 0 / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1757, allocations: 0 / 445.5 MB, free: 42.99 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003671/0.1761, allocations: 340.6 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1761, allocations: 10.88 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.918e-05/0.1761, allocations: 33.5 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1762, allocations: 14.12 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1764, allocations: 148.5 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1764, allocations: 3.188 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1764, allocations: 1.875 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1765, allocations: 55.33 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1765, allocations: 3.156 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1765, allocations: 1.125 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1765, allocations: 2.906 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.1765, allocations: 18.48 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.1767, allocations: 155.5 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1768, allocations: 51.31 kB / 446.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.1768, allocations: 20.41 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1768, allocations: 0 / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.1769, allocations: 74.45 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.734e-06/0.1769, allocations: 3.422 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000202/0.1771, allocations: 104.5 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.1772, allocations: 51.41 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1773, allocations: 199.6 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1773, allocations: 28.61 kB / 446.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.1773, allocations: 101.7 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1773, allocations: 16.92 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.1773, allocations: 23 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.1774, allocations: 325 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.1774, allocations: 15.86 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.1774, allocations: 28.88 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.1775, allocations: 45.83 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1775, allocations: 0 / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.065e-05/0.1776, allocations: 91.45 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1776, allocations: 9.594 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1776, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1776, allocations: 2.812 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.1776, allocations: 15.92 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1777, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.1777, allocations: 8.328 kB / 447.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-06/0.1777, allocations: 2.812 kB / 447.5 MB, free: 41.47 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 (7): * Single equations (assignments): 7 * 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.0003859/0.1781, allocations: 123.7 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.1781, allocations: 10.73 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1782, allocations: 106.3 kB / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1782, allocations: 0 / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1782, allocations: 0 / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1782, allocations: 5.75 kB / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.738e-05/0.1783, allocations: 156.5 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1783, allocations: 3.188 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.1783, allocations: 5.922 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1783, allocations: 8.188 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1783, allocations: 0 / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1783, allocations: 0 / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1783, allocations: 2.75 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.233e-05/0.1784, allocations: 119.8 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.1784, allocations: 13.83 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1784, allocations: 0 / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.1784, allocations: 9.625 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.1785, allocations: 6.125 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1785, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.1785, allocations: 157.6 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1785, allocations: 0 / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000147/0.1787, allocations: 11.78 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007689/0.1795, allocations: 0.9981 MB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1796, allocations: 46.52 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1796, allocations: 0 / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.1796, allocations: 21.33 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.1798, allocations: 23.72 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.1806, allocations: 1.529 MB / 450.8 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.1807, allocations: 89.56 kB / 450.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.1807, allocations: 19.08 kB / 450.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.1808, allocations: 39.88 kB / 451 MB, free: 38.95 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1808, allocations: 0 / 451 MB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.1958, allocations: 3.967 MB / 454.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.888, allocations: 6.875 kB / 454.9 MB, free: 37.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.803407810628414]