Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0008547/0.0008547, 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.000844/0.000844, allocations: 174.3 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.8621/0.8621, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2535/0.2535, 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.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.805e-05, allocations: 8.25 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.1716/0.1717, allocations: 1.664 MB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1727, allocations: 0.9642 MB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.1728, allocations: 0 / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.173, allocations: 71.42 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1733, allocations: 106.6 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.1734, allocations: 76.84 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1735, allocations: 117.3 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1735, allocations: 3.672 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.1736, allocations: 55.17 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.1737, allocations: 46.23 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1737, allocations: 2.938 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.1738, allocations: 31.27 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1738, allocations: 24.17 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.1739, allocations: 16.12 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.174, allocations: 110.4 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.174, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.174, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.174, allocations: 0 / 445.5 MB, free: 43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003835/0.1744, allocations: 338.9 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1745, allocations: 8.781 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.1745, allocations: 30.75 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1745, allocations: 15.5 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1747, allocations: 147.1 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1747, allocations: 6.812 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1747, allocations: 4.188 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1748, allocations: 55.3 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.1748, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1748, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1748, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.1749, allocations: 18.72 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.175, allocations: 160.9 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.1751, allocations: 49.31 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.1751, allocations: 22.47 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1751, allocations: 0.9375 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.1752, allocations: 70.92 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1752, allocations: 0 / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001807/0.1754, allocations: 103.9 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.1754, allocations: 54.19 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1755, allocations: 199.6 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.1756, allocations: 28.73 kB / 446.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.1756, allocations: 104.6 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1756, allocations: 14.38 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.1756, allocations: 22.41 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.183e-05/0.1757, allocations: 324.6 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.1757, allocations: 19.11 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.1757, allocations: 25.16 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.568e-05/0.1758, allocations: 47.59 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1758, allocations: 4 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.238e-05/0.1759, allocations: 89.56 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1759, allocations: 9.594 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1759, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1759, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.641e-05/0.1759, allocations: 8.688 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.176, allocations: 2.875 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.176, allocations: 11.44 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.176, allocations: 0 / 447.5 MB, free: 41.48 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 (7): * Single equations (assignments): 7 * 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.379e-05/0.176, allocations: 134.1 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1761, allocations: 13.92 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.1762, allocations: 95.44 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1762, allocations: 2.812 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1762, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1762, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.3e-05/0.1762, allocations: 154.3 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1763, allocations: 3.188 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.1763, allocations: 9.75 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1763, allocations: 5.531 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.1763, allocations: 7.188 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1763, allocations: 0 / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1763, allocations: 2.938 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.1764, allocations: 115.4 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.1764, allocations: 14.02 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1764, allocations: 3 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.1764, allocations: 2.906 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.1764, allocations: 5.984 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1764, allocations: 2.719 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.581e-05/0.1765, allocations: 153.3 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1765, allocations: 4 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000136/0.1766, allocations: 16.38 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007878/0.1774, allocations: 0.9976 MB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.1775, allocations: 43.2 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1775, allocations: 0 / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.1776, allocations: 22.45 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.1778, allocations: 25.67 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.1786, allocations: 1.535 MB / 450.8 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.1786, allocations: 83.61 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.1787, allocations: 14.47 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1787, allocations: 32.8 kB / 451 MB, free: 38.96 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1787, allocations: 0 / 451 MB, free: 38.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.1948, allocations: 3.969 MB / 454.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.884, allocations: 3.938 kB / 454.9 MB, free: 37.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.812470478005707]