Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0008718/0.0008718, 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.0008559/0.0008559, allocations: 174 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.8783/0.8783, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2498/0.2498, allocations: 32.79 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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.931e-05, allocations: 7.406 kB / 439.7 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002052/0.002072, allocations: 1.706 MB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003169, allocations: 0.9781 MB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.003242, allocations: 3.938 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.00351, allocations: 35.83 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.003796, allocations: 103.4 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.003961, allocations: 75.66 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004107, allocations: 107.6 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.004197, allocations: 7.984 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.004532, allocations: 51.89 kB / 442.7 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.004602, allocations: 27.92 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.004619, allocations: 4 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.004697, allocations: 47.91 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.004746, allocations: 31.8 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.004781, allocations: 19.92 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004942, allocations: 107.6 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004944, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004944, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004948, allocations: 4 kB / 443 MB, free: 0.8125 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.000386/0.005334, allocations: 353.4 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.005369, allocations: 12.03 kB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.005399, allocations: 50.66 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.005432, allocations: 8.891 kB / 443.4 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.005596, allocations: 146.3 kB / 443.5 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005606, allocations: 384 / 443.5 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.005624, allocations: 8.375 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005727, allocations: 61.92 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005736, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.005743, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005747, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.072e-05/0.005798, allocations: 19.98 kB / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1653/0.1711, allocations: 258 kB / 443.9 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1712, allocations: 55.83 kB / 443.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.1712, allocations: 21.75 kB / 443.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1712, allocations: 3 kB / 444 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.1714, allocations: 74.58 kB / 444 MB, free: 45.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.1714, allocations: 0 / 444 MB, free: 45.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.1718, allocations: 182.7 kB / 444.2 MB, free: 45.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1718, allocations: 52.16 kB / 444.3 MB, free: 45.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1719, allocations: 203.6 kB / 444.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1719, allocations: 31.3 kB / 444.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.172, allocations: 104.3 kB / 444.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.172, allocations: 30.17 kB / 444.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.172, allocations: 19.12 kB / 444.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.931e-05/0.172, allocations: 327.2 kB / 445 MB, free: 45.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.1721, allocations: 21.27 kB / 445 MB, free: 45.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.1721, allocations: 41.53 kB / 445 MB, free: 45.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.1722, allocations: 61.25 kB / 445.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1722, allocations: 2.938 kB / 445.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001039/0.1723, allocations: 112.8 kB / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1723, allocations: 5.781 kB / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1723, allocations: 0 / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1723, allocations: 6.531 kB / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.1724, allocations: 14.42 kB / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1724, allocations: 5.797 kB / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.1724, allocations: 3.375 kB / 445.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1724, allocations: 2.656 kB / 445.2 MB, free: 45.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 (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 5.116e-05/0.1725, allocations: 129 kB / 445.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1725, allocations: 12.7 kB / 445.4 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1726, allocations: 123.1 kB / 445.5 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1726, allocations: 3.438 kB / 445.5 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1726, allocations: 0 / 445.5 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1727, allocations: 2.906 kB / 445.5 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1729, allocations: 380.7 kB / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1729, allocations: 0 / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.1729, allocations: 10.84 kB / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1729, allocations: 0 / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1729, allocations: 8.266 kB / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1729, allocations: 3.562 kB / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1729, allocations: 2.906 kB / 445.9 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.173, allocations: 212.6 kB / 446.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.173, allocations: 10.75 kB / 446.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1731, allocations: 6.406 kB / 446.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.839e-05/0.1731, allocations: 3 kB / 446.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.1731, allocations: 10.64 kB / 446.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1731, allocations: 6.125 kB / 446.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.1732, allocations: 146.7 kB / 446.3 MB, free: 44.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1732, allocations: 6.625 kB / 446.3 MB, free: 44.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.1734, allocations: 27.02 kB / 446.3 MB, free: 44.46 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.0009089/0.1743, allocations: 1.146 MB / 447.5 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1744, allocations: 60.64 kB / 447.5 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1744, allocations: 3.5 kB / 447.5 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.1744, allocations: 28.52 kB / 447.5 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1747, allocations: 22.95 kB / 447.6 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.1756, allocations: 1.683 MB / 449.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.1757, allocations: 89.59 kB / 449.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.1757, allocations: 17.91 kB / 449.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.1758, allocations: 38.42 kB / 449.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.073e-06/0.1758, allocations: 0 / 449.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1928, allocations: 4.297 MB / 453.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.881, allocations: 2.906 kB / 453.7 MB, free: 41.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.805807448923588]