Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.0007809/0.0007809, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009007/0.0009007, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9016/0.9016, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2492/0.2492, 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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.774e-05, allocations: 2.281 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.1743/0.1744, allocations: 1.876 MB / 444.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1756, allocations: 1.077 MB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1757, allocations: 3.938 kB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.1762, allocations: 222 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.1767, allocations: 215.4 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.177, allocations: 121.9 kB / 445.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1773, allocations: 268.3 kB / 446 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1774, allocations: 17.38 kB / 446.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1776, allocations: 147 kB / 446.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1777, allocations: 152.3 kB / 446.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1778, allocations: 13.05 kB / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1779, allocations: 68.44 kB / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1779, allocations: 64.83 kB / 446.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.178, allocations: 46.33 kB / 446.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1782, allocations: 238.5 kB / 446.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1782, allocations: 3.719 kB / 446.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1782, allocations: 0 / 446.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1782, allocations: 0 / 446.8 MB, free: 42.73 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005247/0.1788, allocations: 0.4971 MB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1788, allocations: 11.25 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.1788, allocations: 39.22 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1789, allocations: 28.5 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1792, allocations: 219.6 kB / 447.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1792, allocations: 9.844 kB / 447.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1792, allocations: 8.922 kB / 447.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1794, allocations: 125.1 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1794, allocations: 3.812 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1794, allocations: 9.734 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1794, allocations: 9.594 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.1795, allocations: 48.55 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1799, allocations: 444.8 kB / 448.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1802, allocations: 120.4 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.1802, allocations: 43.48 kB / 448.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1802, allocations: 6.375 kB / 448.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.1804, allocations: 118.6 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.1804, allocations: 0 / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008154/0.1812, allocations: 0.5207 MB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1812, allocations: 83.86 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.1815, allocations: 451.3 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1815, allocations: 32.64 kB / 449.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1816, allocations: 165 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.1817, allocations: 74.17 kB / 449.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.1817, allocations: 47.89 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.1818, allocations: 343.6 kB / 450.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.1819, allocations: 57.88 kB / 450.2 MB, free: 40.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.1819, allocations: 92.39 kB / 450.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1821, allocations: 160.8 kB / 450.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1821, allocations: 0 / 450.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002311/0.1823, allocations: 247.9 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1824, allocations: 5.781 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1824, allocations: 2.875 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1824, allocations: 5.25 kB / 450.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.1825, allocations: 41.61 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1825, allocations: 5.5 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1825, allocations: 13.98 kB / 450.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1825, allocations: 12.28 kB / 450.8 MB, free: 40.07 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.541e-05/0.1826, allocations: 163.6 kB / 451 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1827, allocations: 39.64 kB / 451 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.183, allocations: 290.2 kB / 451.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.183, allocations: 6.594 kB / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.183, allocations: 0 / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.183, allocations: 0 / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.1835, allocations: 0.7053 MB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1835, allocations: 7.312 kB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.1836, allocations: 32.31 kB / 452 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1836, allocations: 2.375 kB / 452 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1836, allocations: 12.55 kB / 452.1 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1836, allocations: 2.844 kB / 452.1 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1836, allocations: 2.688 kB / 452.1 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1838, allocations: 440.4 kB / 452.5 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.1839, allocations: 35.3 kB / 452.5 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1839, allocations: 6.391 kB / 452.5 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.184, allocations: 10.88 kB / 452.5 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.184, allocations: 26.72 kB / 452.6 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.184, allocations: 8.969 kB / 452.6 MB, free: 38.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1842, allocations: 340.3 kB / 452.9 MB, free: 38.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1842, allocations: 0 / 452.9 MB, free: 38.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.1844, allocations: 52.42 kB / 453 MB, free: 38.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001169/0.1856, allocations: 1.423 MB / 454.4 MB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1858, allocations: 163.9 kB / 454.5 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1858, allocations: 0 / 454.5 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.1859, allocations: 82.89 kB / 454.6 MB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1863, allocations: 68.97 kB / 454.7 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1882, allocations: 2.917 MB / 457.6 MB, free: 35.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.1883, allocations: 169.5 kB / 457.8 MB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.043e-05/0.1884, allocations: 39.22 kB / 457.8 MB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.1885, allocations: 95.59 kB / 457.9 MB, free: 35.65 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1885, allocations: 0 / 457.9 MB, free: 35.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.2085, allocations: 7.397 MB / 465.3 MB, free: 33.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.953, allocations: 0 / 465.3 MB, free: 33.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.956758280284703]