Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001014/0.001014, 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.001078/0.001078, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9018/0.9018, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2436/0.2436, allocations: 34.24 MB / 294.9 MB, free: 0.7148 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.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.948e-05, allocations: 2.281 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.176/0.176, allocations: 1.703 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.177, allocations: 0.9807 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.1771, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1774, allocations: 39.66 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1776, allocations: 92.3 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.1777, allocations: 79.39 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1779, allocations: 113.3 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.1779, allocations: 13.12 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.178, allocations: 54.34 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1781, allocations: 28.44 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1781, allocations: 5.5 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.1782, allocations: 43.16 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.1782, allocations: 21.23 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.1782, allocations: 19.64 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1784, allocations: 118.9 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1784, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1784, allocations: 0.7188 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1784, allocations: 0 / 445.6 MB, free: 42.95 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.0003685/0.1788, allocations: 348 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1788, allocations: 8.125 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.1788, allocations: 37.38 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.1789, allocations: 14.62 kB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1791, allocations: 150.5 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1791, allocations: 4.062 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1791, allocations: 4.188 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1792, allocations: 66.64 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1792, allocations: 0 / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1792, allocations: 2.562 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1792, allocations: 3.312 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.1793, allocations: 19.22 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.1795, allocations: 256.4 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1796, allocations: 63.53 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.1797, allocations: 18.16 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1797, allocations: 3.156 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.1798, allocations: 69.91 kB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1798, allocations: 0 / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003616/0.1801, allocations: 184.8 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.1802, allocations: 61.48 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.1803, allocations: 202.3 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.1803, allocations: 26.3 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.1803, allocations: 103.5 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1803, allocations: 28.06 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1803, allocations: 31.84 kB / 447.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.928e-05/0.1804, allocations: 325 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.1804, allocations: 21.95 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.1804, allocations: 38.5 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.1805, allocations: 62.03 kB / 447.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1805, allocations: 0 / 447.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.997e-05/0.1806, allocations: 106.2 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1806, allocations: 3.188 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1806, allocations: 2.656 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1806, allocations: 3.281 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.1807, allocations: 13.56 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1807, allocations: 10.12 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.1807, allocations: 7.047 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1807, allocations: 4.594 kB / 447.8 MB, free: 41.32 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.374e-05/0.1808, allocations: 130.4 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1808, allocations: 13.09 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.181, allocations: 115.5 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.181, allocations: 0 / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.181, allocations: 3.375 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.181, allocations: 2.562 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1812, allocations: 376.8 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1812, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.1812, allocations: 18.77 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1812, allocations: 0 / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1812, allocations: 6.062 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1812, allocations: 0.7812 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1812, allocations: 3.938 kB / 448.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/0.1813, allocations: 212.3 kB / 448.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.1813, allocations: 10.22 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1814, allocations: 2.938 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.1814, allocations: 13.64 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1814, allocations: 13.61 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1814, allocations: 2.906 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.003e-05/0.1815, allocations: 155.1 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1815, allocations: 0 / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.1817, allocations: 26.56 kB / 448.9 MB, free: 40.56 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.0008708/0.1825, allocations: 1.14 MB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1826, allocations: 57.45 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1826, allocations: 0 / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.1827, allocations: 28.55 kB / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1829, allocations: 43.06 kB / 450.2 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.1838, allocations: 1.685 MB / 451.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.1838, allocations: 91.97 kB / 451.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.1839, allocations: 20.39 kB / 452 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1839, allocations: 35.75 kB / 452 MB, free: 38.27 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1839, allocations: 0 / 452 MB, free: 38.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.1986, allocations: 4.273 MB / 456.3 MB, free: 36.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.998, allocations: 3.797 kB / 456.3 MB, free: 36.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.998258034698665]