Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001775/0.001775, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001971/0.001971, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2738/0.2738, allocations: 46.93 MB / 357.8 MB, free: 10.31 MB / 286.1 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.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 71.88 kB / 0.4917 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1563, allocations: 65.99 MB / 0.5562 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003185/0.1595, allocations: 1.752 MB / 0.5579 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1612, allocations: 1.037 MB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.1613, allocations: 3.938 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1616, allocations: 91.69 kB / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.162, allocations: 115.6 kB / 0.5591 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1622, allocations: 87.66 kB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1624, allocations: 123.6 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1625, allocations: 11.98 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1626, allocations: 59.77 kB / 0.5594 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1627, allocations: 75.73 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1627, allocations: 4 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1628, allocations: 67.95 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1629, allocations: 19.92 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.1629, allocations: 43.62 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1632, allocations: 139.4 kB / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1632, allocations: 0 / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1632, allocations: 0 / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1632, allocations: 4 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005934/0.1638, allocations: 446.4 kB / 0.5601 GB, free: 1.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1638, allocations: 16.03 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.88e-05/0.1638, allocations: 192 / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1639, allocations: 34.75 kB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1639, allocations: 20.83 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1642, allocations: 228.8 kB / 0.5604 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1642, allocations: 4.125 kB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1643, allocations: 7.984 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1644, allocations: 57.61 kB / 0.5605 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1644, allocations: 8 kB / 0.5605 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1644, allocations: 4 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1644, allocations: 0 / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.1645, allocations: 19.98 kB / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1649, allocations: 304.7 kB / 0.5608 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1652, allocations: 54.55 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.1652, allocations: 32.97 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1653, allocations: 0 / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1654, allocations: 71.45 kB / 0.5609 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1654, allocations: 0 / 0.5609 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007842/0.1662, allocations: 245.6 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1663, allocations: 59.34 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1665, allocations: 238.1 kB / 0.5615 GB, free: 84 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1665, allocations: 25.7 kB / 0.5615 GB, free: 52 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1666, allocations: 120 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1667, allocations: 31.73 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1667, allocations: 25.72 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1669, allocations: 330.8 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1669, allocations: 24 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.167, allocations: 53.69 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1672, allocations: 73.66 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1672, allocations: 4 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002434/0.1674, allocations: 129.5 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1674, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1675, allocations: 240 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1675, allocations: 7.938 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.1676, allocations: 27.95 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1676, allocations: 3.984 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1676, allocations: 4 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1676, allocations: 4 kB / 0.5623 GB, free: 15.19 MB / 430.1 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 (13): * Single equations (assignments): 13 * 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 0.0001215/0.1678, allocations: 138.5 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1678, allocations: 15.91 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.1678, allocations: 17.39 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1678, allocations: 7.938 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1678, allocations: 0 / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1679, allocations: 4 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.1684, allocations: 463.9 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1684, allocations: 0 / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.1685, allocations: 19.92 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1685, allocations: 0 / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1685, allocations: 4 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1685, allocations: 0 / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1685, allocations: 4.062 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1688, allocations: 245.2 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.1689, allocations: 89.02 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1689, allocations: 0 / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.169, allocations: 4 kB / 0.5633 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.169, allocations: 23.91 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.169, allocations: 4 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1692, allocations: 176.4 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1692, allocations: 0 / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1695, allocations: 31.94 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002471/0.172, allocations: 1.175 MB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1722, allocations: 71.91 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1722, allocations: 0 / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.1723, allocations: 35.92 kB / 0.5647 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1726, allocations: 45.92 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.1748, allocations: 1.855 MB / 0.5666 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1752, allocations: 0.7158 MB / 0.5673 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.1752, allocations: 20.81 kB / 0.5673 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.1753, allocations: 51.36 kB / 0.5674 GB, free: 9.945 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1753, allocations: 0 / 0.5674 GB, free: 9.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.1944, allocations: 4.02 MB / 0.5713 GB, free: 5.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.589, allocations: 7.938 kB / 0.5713 GB, free: 5.984 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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: 12.036211834987625]