Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001684/0.001684, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002052/0.002052, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.555/1.555, 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.2335/0.2335, allocations: 46.93 MB / 357 MB, free: 10.2 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 87.86 kB / 0.4911 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1324, allocations: 66.05 MB / 0.5555 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003528/0.136, allocations: 1.74 MB / 0.5572 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1387, allocations: 1.642 MB / 0.5589 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1388, allocations: 4 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.1391, allocations: 35.77 kB / 0.5589 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1395, allocations: 103.5 kB / 0.559 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1397, allocations: 83.66 kB / 0.5591 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1399, allocations: 107.7 kB / 0.5592 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.14, allocations: 8 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1401, allocations: 51.7 kB / 0.5592 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1403, allocations: 43.83 kB / 0.5593 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1403, allocations: 4 kB / 0.5593 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.1405, allocations: 107.9 kB / 0.5594 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.1405, allocations: 23.92 kB / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1406, allocations: 35.73 kB / 0.5594 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.1409, allocations: 171.4 kB / 0.5596 GB, free: 1.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1409, allocations: 0 / 0.5596 GB, free: 1.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1409, allocations: 0 / 0.5596 GB, free: 1.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.141, allocations: 0 / 0.5596 GB, free: 1.297 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.0007536/0.1417, allocations: 434.6 kB / 0.56 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1418, allocations: 15.97 kB / 0.56 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.1418, allocations: 30.75 kB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.1419, allocations: 12.84 kB / 0.5601 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1422, allocations: 220.7 kB / 0.5603 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1422, allocations: 384 / 0.5603 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1423, allocations: 11.94 kB / 0.5603 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1425, allocations: 67.39 kB / 0.5604 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1425, allocations: 3.938 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1425, allocations: 7.984 kB / 0.5604 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1425, allocations: 0 / 0.5604 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.1426, allocations: 23.98 kB / 0.5604 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.143, allocations: 280.9 kB / 0.5607 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1432, allocations: 58.66 kB / 0.5607 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.1433, allocations: 16.86 kB / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1433, allocations: 0 / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1435, allocations: 75.33 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1435, allocations: 0 / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.000601/0.1441, allocations: 173.3 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1441, allocations: 77.11 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1443, allocations: 167 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1444, allocations: 29.7 kB / 0.5612 GB, free: 15.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.1444, allocations: 100.1 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1445, allocations: 35.72 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.1445, allocations: 25.72 kB / 0.5614 GB, free: 15.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1447, allocations: 318.8 kB / 0.5617 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.1448, allocations: 23.98 kB / 0.5617 GB, free: 14.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.1448, allocations: 46.5 kB / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.145, allocations: 53.75 kB / 0.5618 GB, free: 14.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.145, allocations: 0 / 0.5618 GB, free: 14.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.1452, allocations: 105.6 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1452, allocations: 4 kB / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1452, allocations: 0 / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1452, allocations: 0 / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.1453, allocations: 19.98 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1453, allocations: 3.938 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.1454, allocations: 7.938 kB / 0.5619 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1454, allocations: 4.031 kB / 0.5619 GB, free: 14.63 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 (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 0.0001207/0.1455, allocations: 125.8 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1455, allocations: 8.328 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.1456, allocations: 16.89 kB / 0.5621 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1456, allocations: 0 / 0.5621 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1456, allocations: 7.938 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1456, allocations: 7.938 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.1461, allocations: 399.3 kB / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1461, allocations: 0 / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1461, allocations: 11.98 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.1461, allocations: 7.922 kB / 0.5625 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1461, allocations: 4 kB / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1461, allocations: 0 / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1461, allocations: 0 / 0.5625 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1464, allocations: 200.6 kB / 0.5627 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.1465, allocations: 85.06 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1465, allocations: 15.86 kB / 0.5628 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1466, allocations: 4 kB / 0.5628 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1466, allocations: 7.984 kB / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1466, allocations: 7.984 kB / 0.5628 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1467, allocations: 127.3 kB / 0.5629 GB, free: 13.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1467, allocations: 0 / 0.5629 GB, free: 13.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.147, allocations: 47.86 kB / 0.563 GB, free: 13.46 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 (8): * Single equations (assignments): 6 * 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.002675/0.1497, allocations: 1.181 MB / 0.5641 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1499, allocations: 55.97 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1499, allocations: 0 / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.15, allocations: 35.91 kB / 0.5642 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1504, allocations: 26.5 kB / 0.5642 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1524, allocations: 1.596 MB / 0.5658 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1528, allocations: 0.6963 MB / 0.5665 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.1528, allocations: 16.88 kB / 0.5665 GB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.1529, allocations: 35.42 kB / 0.5665 GB, free: 9.859 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1529, allocations: 0 / 0.5665 GB, free: 9.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.1805, allocations: 4.034 MB / 0.5705 GB, free: 5.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.241, allocations: 7.359 kB / 0.5705 GB, free: 5.844 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.514616957050748]