Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 127.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 46.92 MB / 357 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 79.88 kB / 0.491 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1461, allocations: 66.06 MB / 0.5556 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003307/0.1494, allocations: 1.74 MB / 0.5573 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1512, allocations: 1.057 MB / 0.5583 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1513, allocations: 0 / 0.5583 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1516, allocations: 35.78 kB / 0.5583 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.1519, allocations: 91.59 kB / 0.5584 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1521, allocations: 79.67 kB / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1523, allocations: 115.6 kB / 0.5586 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.1524, allocations: 7.984 kB / 0.5586 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1525, allocations: 51.78 kB / 0.5587 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.1526, allocations: 47.77 kB / 0.5587 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1526, allocations: 4 kB / 0.5587 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.1528, allocations: 115.9 kB / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1529, allocations: 23.91 kB / 0.5588 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.153, allocations: 35.73 kB / 0.5589 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1533, allocations: 175.4 kB / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1533, allocations: 0 / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1533, allocations: 0 / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1533, allocations: 0 / 0.559 GB, free: 1.855 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006172/0.1539, allocations: 442.5 kB / 0.5595 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1539, allocations: 12.03 kB / 0.5595 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.154, allocations: 30.75 kB / 0.5595 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.154, allocations: 8.891 kB / 0.5595 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1543, allocations: 220.1 kB / 0.5597 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1544, allocations: 4.312 kB / 0.5597 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1544, allocations: 4.375 kB / 0.5597 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1546, allocations: 79.5 kB / 0.5598 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1546, allocations: 0 / 0.5598 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1546, allocations: 0 / 0.5598 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1546, allocations: 0 / 0.5598 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.1547, allocations: 19.98 kB / 0.5598 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1551, allocations: 284.8 kB / 0.5601 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1553, allocations: 62.61 kB / 0.5601 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.1553, allocations: 24.98 kB / 0.5602 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1554, allocations: 3.984 kB / 0.5602 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1555, allocations: 75.33 kB / 0.5602 GB, free: 440 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1555, allocations: 0 / 0.5602 GB, free: 440 kB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006106/0.1562, allocations: 209.2 kB / 0.5604 GB, free: 224 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.1562, allocations: 85.05 kB / 0.5605 GB, free: 120 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1564, allocations: 170.2 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1564, allocations: 33.7 kB / 0.5607 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.1565, allocations: 92.14 kB / 0.5608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.1565, allocations: 31.73 kB / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.1566, allocations: 37.7 kB / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1568, allocations: 326.8 kB / 0.5612 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.1568, allocations: 31.98 kB / 0.5612 GB, free: 15.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.1569, allocations: 49.44 kB / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1571, allocations: 77.58 kB / 0.5613 GB, free: 15.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1571, allocations: 4.031 kB / 0.5613 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002351/0.1573, allocations: 129.5 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1573, allocations: 4 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1573, allocations: 0 / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1574, allocations: 4 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1575, allocations: 20 kB / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1575, allocations: 3.984 kB / 0.5615 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.1575, allocations: 4 kB / 0.5615 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1575, allocations: 7.938 kB / 0.5615 GB, free: 15.05 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.0001198/0.1577, allocations: 131.4 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1577, allocations: 11.91 kB / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.1577, allocations: 16.7 kB / 0.5617 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1577, allocations: 3.984 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1577, allocations: 0 / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1577, allocations: 96 / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.1583, allocations: 435 kB / 0.5621 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1583, allocations: 0 / 0.5621 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.1584, allocations: 19.92 kB / 0.5621 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1584, allocations: 3.938 kB / 0.5621 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1584, allocations: 8 kB / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1584, allocations: 0 / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1584, allocations: 0 / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1586, allocations: 216.3 kB / 0.5623 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.1587, allocations: 89.06 kB / 0.5624 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1587, allocations: 3.938 kB / 0.5624 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1588, allocations: 4 kB / 0.5624 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1589, allocations: 11.98 kB / 0.5624 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1589, allocations: 8 kB / 0.5624 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.159, allocations: 127.1 kB / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.159, allocations: 0 / 0.5626 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1593, allocations: 55.81 kB / 0.5626 GB, free: 13.83 MB / 430.1 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 (10): * Single equations (assignments): 8 * 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.002695/0.162, allocations: 1.2 MB / 0.5638 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.1623, allocations: 79.78 kB / 0.5639 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1623, allocations: 4 kB / 0.5639 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.1624, allocations: 23.98 kB / 0.5639 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1628, allocations: 35.09 kB / 0.5639 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1652, allocations: 1.661 MB / 0.5655 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1656, allocations: 0.7083 MB / 0.5662 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.325e-05/0.1657, allocations: 28.41 kB / 0.5663 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.1658, allocations: 43.41 kB / 0.5663 GB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1658, allocations: 0 / 0.5663 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.1931, allocations: 4.256 MB / 0.5705 GB, free: 5.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.951, allocations: 12 kB / 0.5705 GB, free: 5.84 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 11.258502480923198]