Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0008683/0.0008683, 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.0008633/0.0008633, 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.9075/0.9075, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2669/0.2669, allocations: 32.8 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.322e-05, allocations: 3.969 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00221/0.002234, allocations: 1.794 MB / 441.5 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.003835, allocations: 1.744 MB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.003911, allocations: 0 / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.00421, allocations: 51.62 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.004584, allocations: 147.2 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004776, allocations: 107.6 kB / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.00502, allocations: 211.2 kB / 443.7 MB, free: 92 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.005073, allocations: 5.812 kB / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1734/0.1784, allocations: 108.2 kB / 443.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1786, allocations: 66.66 kB / 443.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.1787, allocations: 9.453 kB / 443.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.1789, allocations: 104.3 kB / 444 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.179, allocations: 37.52 kB / 444 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.179, allocations: 44.23 kB / 444.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.1793, allocations: 236.5 kB / 444.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1793, allocations: 0 / 444.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1793, allocations: 0 / 444.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1793, allocations: 0 / 444.3 MB, free: 43.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004448/0.1798, allocations: 433.1 kB / 444.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1798, allocations: 8.5 kB / 444.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.57e-05/0.1799, allocations: 40.11 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1799, allocations: 20.98 kB / 444.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1801, allocations: 181.6 kB / 445 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1802, allocations: 7.094 kB / 445 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1802, allocations: 3.156 kB / 445 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1803, allocations: 159.6 kB / 445.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1803, allocations: 1.781 kB / 445.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1803, allocations: 3.938 kB / 445.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1804, allocations: 6.766 kB / 445.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.1804, allocations: 32.86 kB / 445.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1806, allocations: 182 kB / 445.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1807, allocations: 107.3 kB / 445.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.1808, allocations: 40.17 kB / 445.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1808, allocations: 0.5625 kB / 445.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.1809, allocations: 112.4 kB / 445.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.1809, allocations: 6.562 kB / 445.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002763/0.1812, allocations: 185.1 kB / 445.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.1812, allocations: 131.8 kB / 445.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1814, allocations: 251.9 kB / 446.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.1814, allocations: 28.58 kB / 446.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.1814, allocations: 116.3 kB / 446.3 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1815, allocations: 27.69 kB / 446.3 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1815, allocations: 33.55 kB / 446.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.1815, allocations: 331.3 kB / 446.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.1816, allocations: 28.7 kB / 446.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.1816, allocations: 122.2 kB / 446.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.1817, allocations: 97.2 kB / 446.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1817, allocations: 0 / 446.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001445/0.1819, allocations: 150 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1819, allocations: 9.25 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1819, allocations: 2.75 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1819, allocations: 0 / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.182, allocations: 25.59 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.182, allocations: 4.938 kB / 447.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.182, allocations: 13.42 kB / 447.1 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1821, allocations: 12.69 kB / 447.2 MB, free: 41.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.246e-05/0.1821, allocations: 127.6 kB / 447.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.1821, allocations: 19.17 kB / 447.3 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.1823, allocations: 170 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1823, allocations: 0 / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1823, allocations: 6 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1823, allocations: 0.625 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/0.1824, allocations: 184.6 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1824, allocations: 7.297 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.1824, allocations: 15.5 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1825, allocations: 3 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1825, allocations: 3.938 kB / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1825, allocations: 4.562 kB / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1825, allocations: 0 / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1826, allocations: 179.9 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.1826, allocations: 23.58 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1827, allocations: 7.562 kB / 447.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.1827, allocations: 9.812 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1827, allocations: 13 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.1827, allocations: 8.875 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.495e-05/0.1828, allocations: 180.4 kB / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1828, allocations: 0 / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000186/0.183, allocations: 62.67 kB / 448.2 MB, free: 40.97 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001013/0.184, allocations: 1.158 MB / 449.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1842, allocations: 92.78 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1842, allocations: 4.125 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.1843, allocations: 50.64 kB / 449.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.1845, allocations: 56.41 kB / 449.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1857, allocations: 1.899 MB / 451.4 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.1858, allocations: 111.2 kB / 451.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.1859, allocations: 35.61 kB / 451.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.1859, allocations: 60.19 kB / 451.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1859, allocations: 0 / 451.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.206, allocations: 6.368 MB / 458 MB, free: 37.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.895, allocations: 13.89 kB / 458 MB, free: 37.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.920862982049584]