Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009604/0.0009604, 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.001486/0.001486, 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.8681/0.8681, 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.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.2358/0.2358, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.072e-05, allocations: 2.281 kB / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002686/0.002717, allocations: 1.879 MB / 441.6 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004364, allocations: 1.075 MB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.004468, allocations: 4 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.004896, allocations: 219.2 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.005321, allocations: 223.1 kB / 443.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.005597, allocations: 123.5 kB / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.005966, allocations: 255.3 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.006101, allocations: 25.94 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.006276, allocations: 151.5 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.006444, allocations: 155.7 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.006469, allocations: 8 kB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1655/0.172, allocations: 59.77 kB / 443.8 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1722, allocations: 64.78 kB / 443.9 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.1723, allocations: 50.58 kB / 443.9 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1726, allocations: 243.3 kB / 444.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1726, allocations: 1.125 kB / 444.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1726, allocations: 0 / 444.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1726, allocations: 1.094 kB / 444.2 MB, free: 43.66 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.0005456/0.1732, allocations: 0.4934 MB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1732, allocations: 12.5 kB / 444.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.1732, allocations: 40.45 kB / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1733, allocations: 29.03 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1736, allocations: 222.2 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1736, allocations: 9.578 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1736, allocations: 11.39 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1738, allocations: 117 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1738, allocations: 2.938 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1738, allocations: 3.938 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1738, allocations: 2.906 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.1739, allocations: 49.39 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1743, allocations: 447.6 kB / 445.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.1745, allocations: 116.4 kB / 445.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.1746, allocations: 44.08 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1746, allocations: 4.953 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1748, allocations: 117.5 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1748, allocations: 0 / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008051/0.1756, allocations: 0.5251 MB / 446.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1756, allocations: 88.61 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.1759, allocations: 453.3 kB / 446.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1759, allocations: 32.42 kB / 447 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.176, allocations: 154.9 kB / 447.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.176, allocations: 78.5 kB / 447.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.176, allocations: 44.33 kB / 447.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.1761, allocations: 349 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.1762, allocations: 56.78 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.1762, allocations: 98.67 kB / 447.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1764, allocations: 163.4 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1764, allocations: 0 / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002323/0.1766, allocations: 240.9 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1766, allocations: 5.844 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1766, allocations: 2.875 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1767, allocations: 0 / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1767, allocations: 52.22 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1767, allocations: 7.188 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1768, allocations: 6.312 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1768, allocations: 18.94 kB / 448.2 MB, free: 41.63 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 8.85e-05/0.1769, allocations: 165.7 kB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1769, allocations: 34.23 kB / 448.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.1772, allocations: 280.8 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1772, allocations: 6.594 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1772, allocations: 3.938 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1772, allocations: 6.75 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1777, allocations: 0.707 MB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1777, allocations: 2.812 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.1778, allocations: 36.19 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1778, allocations: 2.812 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1778, allocations: 6.562 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1778, allocations: 5.875 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1778, allocations: 3.031 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.178, allocations: 443.1 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.1781, allocations: 31.2 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1781, allocations: 7.062 kB / 449.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1782, allocations: 13.17 kB / 449.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.1782, allocations: 23.3 kB / 450 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1782, allocations: 15.14 kB / 450 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1784, allocations: 337.1 kB / 450.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1784, allocations: 3.188 kB / 450.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.1786, allocations: 57.14 kB / 450.4 MB, free: 40.59 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.001158/0.1798, allocations: 1.416 MB / 451.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.18, allocations: 157.2 kB / 451.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.18, allocations: 0 / 451.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.1801, allocations: 81.12 kB / 452 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1805, allocations: 68.02 kB / 452.1 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1823, allocations: 2.914 MB / 455 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.317e-05/0.1824, allocations: 172.1 kB / 455.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.652e-05/0.1825, allocations: 45.73 kB / 455.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.1826, allocations: 102.1 kB / 455.3 MB, free: 37.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1826, allocations: 0 / 455.3 MB, free: 37.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.2029, allocations: 7.395 MB / 462.7 MB, free: 35.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.955, allocations: 7.938 kB / 462.7 MB, free: 35.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.890254539437592]