Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001193/0.001193, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008761/0.0008761, allocations: 170 kB / 23.94 MB, free: 0.6211 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.8852/0.8852, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2503/0.2503, 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.452e-05, allocations: 2.281 kB / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.1761/0.1762, allocations: 1.746 MB / 444 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1773, allocations: 0.9845 MB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.1774, allocations: 5 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1777, allocations: 105.7 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.178, allocations: 135.7 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.1781, allocations: 75.53 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1783, allocations: 146.7 kB / 445.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1784, allocations: 18.5 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.1785, allocations: 68.14 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1786, allocations: 73.53 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1787, allocations: 9.344 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1788, allocations: 63.84 kB / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.1788, allocations: 33.72 kB / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1789, allocations: 25.64 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1791, allocations: 164.9 kB / 445.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1791, allocations: 0 / 445.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1791, allocations: 0.5 kB / 445.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1791, allocations: 3.312 kB / 445.9 MB, free: 42.97 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004555/0.1796, allocations: 385.8 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1796, allocations: 8.781 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.1796, allocations: 36.89 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1797, allocations: 18.48 kB / 446.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1799, allocations: 168.6 kB / 446.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1799, allocations: 10.78 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1799, allocations: 3.312 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1801, allocations: 80.88 kB / 446.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1801, allocations: 3.812 kB / 446.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1801, allocations: 0 / 446.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1801, allocations: 5.031 kB / 446.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.1802, allocations: 39.8 kB / 446.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.1805, allocations: 301 kB / 446.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1808, allocations: 80.11 kB / 447 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.1808, allocations: 27.72 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1808, allocations: 0 / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.1809, allocations: 81.92 kB / 447.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1809, allocations: 0 / 447.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005806/0.1815, allocations: 319 kB / 447.4 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.1815, allocations: 54.31 kB / 447.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1817, allocations: 266.2 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.1817, allocations: 36.55 kB / 447.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.1817, allocations: 126.9 kB / 447.9 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1817, allocations: 40.98 kB / 448 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1818, allocations: 32.2 kB / 448 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.278e-05/0.1818, allocations: 335.3 kB / 448.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.1819, allocations: 39.09 kB / 448.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.1819, allocations: 57.72 kB / 448.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.182, allocations: 105.9 kB / 448.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.182, allocations: 2.719 kB / 448.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001503/0.1822, allocations: 171.4 kB / 448.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1822, allocations: 5.781 kB / 448.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1822, allocations: 0 / 448.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1822, allocations: 2.719 kB / 448.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.1823, allocations: 26.88 kB / 448.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1823, allocations: 6.781 kB / 448.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.1823, allocations: 6.938 kB / 448.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1823, allocations: 5.875 kB / 448.7 MB, free: 41.12 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 (16): * Single equations (assignments): 16 * 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.594e-05/0.1824, allocations: 139.8 kB / 448.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1824, allocations: 28.66 kB / 448.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.1826, allocations: 195.4 kB / 449.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1826, allocations: 2.75 kB / 449.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1826, allocations: 0 / 449.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1826, allocations: 7.219 kB / 449.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.183, allocations: 486.8 kB / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.183, allocations: 0 / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.183, allocations: 24.5 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.183, allocations: 2.938 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1831, allocations: 14.11 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1831, allocations: 1.312 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1831, allocations: 2.938 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1832, allocations: 272.6 kB / 449.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.1832, allocations: 25.52 kB / 449.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1833, allocations: 3 kB / 449.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.445e-05/0.1833, allocations: 7.281 kB / 449.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1833, allocations: 12.86 kB / 449.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1834, allocations: 8.984 kB / 449.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.1835, allocations: 206.2 kB / 450.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1835, allocations: 0 / 450.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.1837, allocations: 36.7 kB / 450.2 MB, free: 40.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001066/0.1847, allocations: 1.262 MB / 451.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1849, allocations: 101.3 kB / 451.5 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1849, allocations: 3.938 kB / 451.5 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.1849, allocations: 54.38 kB / 451.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1852, allocations: 50.53 kB / 451.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1864, allocations: 2.037 MB / 453.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.1865, allocations: 119.3 kB / 453.8 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.1865, allocations: 30.61 kB / 453.8 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.1866, allocations: 61.28 kB / 453.9 MB, free: 37.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1866, allocations: 0 / 453.9 MB, free: 37.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2032, allocations: 5.217 MB / 459.1 MB, free: 36.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.065, allocations: 3.188 kB / 459.1 MB, free: 36.15 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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: 9.06660472881049]