Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.0008104/0.0008104, 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.0009161/0.0009161, allocations: 174 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.8978/0.8978, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2586/0.2586, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.932e-05, allocations: 4.531 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002075/0.002094, allocations: 1.712 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003147, allocations: 0.9742 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.00322, allocations: 3.938 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.00347, allocations: 31.83 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.003723, allocations: 99.47 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.003866, allocations: 79.61 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.004021, allocations: 103.6 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.004115, allocations: 11.94 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.004203, allocations: 59.88 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.004274, allocations: 23.92 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.00429, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.004368, allocations: 43.92 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.004423, allocations: 27.84 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.004464, allocations: 19.92 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.004638, allocations: 115.6 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00464, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004642, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004646, allocations: 0 / 443 MB, free: 0.8359 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.0004228/0.005069, allocations: 341.6 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.005114, allocations: 16.03 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.005142, allocations: 38.62 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.005174, allocations: 12.84 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.005374, allocations: 150.2 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.005384, allocations: 384 / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.005402, allocations: 4.375 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.005523, allocations: 61.92 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.005533, allocations: 3.984 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.005541, allocations: 0 / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005545, allocations: 4 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.005597, allocations: 27.97 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1735/0.1791, allocations: 247.5 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1793, allocations: 57.2 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.1793, allocations: 22.09 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1793, allocations: 0 / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1795, allocations: 69.86 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.1795, allocations: 0 / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005165/0.1801, allocations: 185.3 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1801, allocations: 56.84 kB / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1802, allocations: 184.3 kB / 444.4 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1803, allocations: 27.33 kB / 444.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.1803, allocations: 108.2 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1803, allocations: 29.77 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1804, allocations: 24.66 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.1804, allocations: 322.5 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.1805, allocations: 21.78 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.1805, allocations: 38.19 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.1806, allocations: 61.36 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1806, allocations: 0.7188 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.1807, allocations: 112.8 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1807, allocations: 2.844 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1807, allocations: 2.906 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1808, allocations: 0 / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.1809, allocations: 18 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1809, allocations: 3.766 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1809, allocations: 2.844 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1809, allocations: 10.19 kB / 445.2 MB, free: 45.56 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 8.067e-05/0.181, allocations: 124.8 kB / 445.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.181, allocations: 18.75 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.1812, allocations: 118.2 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1812, allocations: 3.938 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1812, allocations: 3 kB / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1813, allocations: 0 / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1816, allocations: 370.7 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1816, allocations: 0 / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1816, allocations: 15.22 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1816, allocations: 2.625 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1817, allocations: 2.344 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1817, allocations: 4.281 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1817, allocations: 0.6875 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1818, allocations: 224.5 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.1818, allocations: 8.766 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1818, allocations: 10.05 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.1819, allocations: 2.844 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1819, allocations: 6.016 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1819, allocations: 2.75 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.182, allocations: 144.8 kB / 446.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.182, allocations: 0 / 446.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.1822, allocations: 28.72 kB / 446.3 MB, free: 44.86 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.0009214/0.1831, allocations: 1.144 MB / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1832, allocations: 65.44 kB / 447.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1832, allocations: 0 / 447.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.1833, allocations: 29.08 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1835, allocations: 25.38 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.1845, allocations: 1.653 MB / 449.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.385e-05/0.1845, allocations: 89.62 kB / 449.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.1846, allocations: 16.62 kB / 449.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.1846, allocations: 36.28 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1846, allocations: 0 / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.1989, allocations: 4.226 MB / 453.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/7.01, allocations: 2.812 kB / 453.5 MB, free: 41.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.963861154392362]