Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.000863/0.000863, 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.001007/0.001007, 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.8943/0.8943, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.2492/0.2492, 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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 439.7 MB, free: 4.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.391e-05, allocations: 4.109 kB / 439.7 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00236/0.002374, allocations: 1.875 MB / 441.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003616, allocations: 1.074 MB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.003697, allocations: 8 kB / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.004086, allocations: 259.1 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.004432, allocations: 235.1 kB / 443.1 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.004635, allocations: 115.6 kB / 443.2 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004874, allocations: 283.1 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.004972, allocations: 21.95 kB / 443.5 MB, free: 260 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.005112, allocations: 159.6 kB / 443.7 MB, free: 100 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1715/0.1766, allocations: 185.3 kB / 443.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.1766, allocations: 9.156 kB / 443.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1768, allocations: 65.06 kB / 443.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.1769, allocations: 68.5 kB / 444 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1769, allocations: 52.33 kB / 444.1 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.1772, allocations: 248.7 kB / 444.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1772, allocations: 4.531 kB / 444.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1772, allocations: 0 / 444.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1772, allocations: 0 / 444.3 MB, free: 43.56 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.0004543/0.1776, allocations: 0.5175 MB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1777, allocations: 8.656 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.1777, allocations: 40.03 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1777, allocations: 34.86 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.178, allocations: 233 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.178, allocations: 6.406 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.178, allocations: 9.906 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1782, allocations: 114 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1782, allocations: 0.7188 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1782, allocations: 7.312 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1782, allocations: 5.094 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.1783, allocations: 52.08 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.1786, allocations: 447.8 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1788, allocations: 123 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.1789, allocations: 48.39 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1789, allocations: 2.969 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.179, allocations: 122 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.179, allocations: 0 / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007166/0.1797, allocations: 0.5257 MB / 446.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.1798, allocations: 87.33 kB / 446.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.18, allocations: 0.4977 MB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.18, allocations: 32.11 kB / 447.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.1801, allocations: 176.8 kB / 447.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1801, allocations: 71.66 kB / 447.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1801, allocations: 45.17 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.1802, allocations: 350.3 kB / 447.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.1803, allocations: 60.62 kB / 447.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.1803, allocations: 98.05 kB / 448 MB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1805, allocations: 163.5 kB / 448.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1805, allocations: 0 / 448.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002048/0.1807, allocations: 243.1 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1807, allocations: 10.53 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1807, allocations: 3.188 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1807, allocations: 2.938 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.1808, allocations: 41.2 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1808, allocations: 7.219 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.1808, allocations: 12.89 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1808, allocations: 11.62 kB / 448.5 MB, free: 41.49 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.354e-05/0.1809, allocations: 171.8 kB / 448.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1809, allocations: 38.02 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1812, allocations: 282.8 kB / 448.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1812, allocations: 4.031 kB / 448.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1812, allocations: 3.938 kB / 448.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1812, allocations: 3.844 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1817, allocations: 0.7095 MB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1817, allocations: 2.906 kB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.1817, allocations: 39.14 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1817, allocations: 2.5 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1817, allocations: 7.688 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1817, allocations: 6.031 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1818, allocations: 6.656 kB / 449.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.182, allocations: 450.9 kB / 450.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.182, allocations: 36.09 kB / 450.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.182, allocations: 7 kB / 450.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.1821, allocations: 8.828 kB / 450.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1821, allocations: 25.94 kB / 450.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1821, allocations: 14.88 kB / 450.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1823, allocations: 382 kB / 450.6 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1823, allocations: 0 / 450.6 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.1825, allocations: 57.02 kB / 450.7 MB, free: 40.39 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.0011/0.1836, allocations: 1.419 MB / 452.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1838, allocations: 157.4 kB / 452.3 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1838, allocations: 0 / 452.3 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.1839, allocations: 78.81 kB / 452.3 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1843, allocations: 69.28 kB / 452.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.186, allocations: 3.032 MB / 455.4 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.1861, allocations: 178.9 kB / 455.6 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.613e-05/0.1862, allocations: 47.48 kB / 455.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.1863, allocations: 109.3 kB / 455.8 MB, free: 37.29 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1863, allocations: 0 / 455.8 MB, free: 37.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2028, allocations: 7.623 MB / 463.4 MB, free: 35.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/7.077, allocations: 3.219 kB / 463.4 MB, free: 35.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.05908995680511]