Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001432/0.001432, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001525/0.001525, allocations: 221.2 kB / 22.92 MB, free: 5.535 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] 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.2019/0.2019, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 87.84 kB / 0.4941 GB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2563, allocations: 65.99 MB / 0.5585 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002965/0.2592, allocations: 1.772 MB / 0.5603 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2608, allocations: 1.049 MB / 0.5613 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.2609, allocations: 0 / 0.5613 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.2612, allocations: 103.7 kB / 0.5614 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.2615, allocations: 131.5 kB / 0.5615 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.2617, allocations: 83.66 kB / 0.5616 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2618, allocations: 119.7 kB / 0.5617 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.2619, allocations: 21.78 kB / 0.5617 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.262, allocations: 55.77 kB / 0.5618 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2621, allocations: 67.8 kB / 0.5618 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2621, allocations: 4 kB / 0.5619 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2623, allocations: 63.92 kB / 0.5619 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.2623, allocations: 27.91 kB / 0.5619 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2624, allocations: 43.61 kB / 0.562 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.2626, allocations: 155.3 kB / 0.5621 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2626, allocations: 4 kB / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2626, allocations: 0 / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2626, allocations: 0 / 0.5621 GB, free: 1.5 MB / 398.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.0005529/0.2632, allocations: 454.4 kB / 0.5626 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2632, allocations: 12.03 kB / 0.5626 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.2633, allocations: 34.75 kB / 0.5626 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.2633, allocations: 16.84 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.2635, allocations: 219.8 kB / 0.5628 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2636, allocations: 16.36 kB / 0.5629 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.2636, allocations: 11.88 kB / 0.5629 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.2637, allocations: 57.67 kB / 0.5629 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2637, allocations: 0 / 0.5629 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2637, allocations: 0 / 0.5629 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2637, allocations: 4 kB / 0.5629 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.504e-05/0.2638, allocations: 27.92 kB / 0.563 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.2642, allocations: 304.7 kB / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.2644, allocations: 62.55 kB / 0.5633 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.2645, allocations: 20.97 kB / 0.5633 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2645, allocations: 4 kB / 0.5633 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.2646, allocations: 63.39 kB / 0.5634 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2646, allocations: 0 / 0.5634 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007113/0.2653, allocations: 257.8 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2654, allocations: 59.34 kB / 0.5637 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.2656, allocations: 251.2 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2657, allocations: 25.7 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.2657, allocations: 116.1 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.2658, allocations: 39.69 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.2658, allocations: 21.72 kB / 0.5641 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.266, allocations: 334.8 kB / 0.5644 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.2661, allocations: 27.98 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.2661, allocations: 49.69 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2663, allocations: 73.66 kB / 0.5646 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2663, allocations: 0 / 0.5646 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000225/0.2665, allocations: 129.5 kB / 0.5647 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2665, allocations: 8.031 kB / 0.5647 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2665, allocations: 4 kB / 0.5647 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2665, allocations: 0 / 0.5647 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.2666, allocations: 27.86 kB / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2666, allocations: 0 / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.2666, allocations: 8 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2667, allocations: 8 kB / 0.5648 GB, free: 14.56 MB / 414.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.0001143/0.2668, allocations: 136.1 kB / 0.5649 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2668, allocations: 15.91 kB / 0.5649 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.2671, allocations: 155 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2671, allocations: 3.938 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2671, allocations: 0 / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2671, allocations: 0 / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.2676, allocations: 464 kB / 0.5655 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2676, allocations: 0 / 0.5655 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.2677, allocations: 20.05 kB / 0.5655 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2677, allocations: 96 / 0.5655 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2677, allocations: 11.94 kB / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2677, allocations: 0 / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2677, allocations: 0 / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.2679, allocations: 237 kB / 0.5658 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.268, allocations: 93.02 kB / 0.5658 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.268, allocations: 7.938 kB / 0.5659 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.2681, allocations: 4 kB / 0.5659 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.2681, allocations: 7.984 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2682, allocations: 4 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2683, allocations: 192.5 kB / 0.5661 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2683, allocations: 0 / 0.5661 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000311/0.2686, allocations: 31.92 kB / 0.5661 GB, free: 13.08 MB / 414.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.002284/0.2709, allocations: 1.17 MB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.2711, allocations: 71.91 kB / 0.5673 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2711, allocations: 4.062 kB / 0.5673 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.2712, allocations: 35.92 kB / 0.5673 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2715, allocations: 40.92 kB / 0.5674 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.2735, allocations: 1.891 MB / 0.5692 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.2738, allocations: 0.7204 MB / 0.5699 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.2739, allocations: 24.61 kB / 0.5699 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.274, allocations: 47.41 kB / 0.57 GB, free: 9.117 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.274, allocations: 4 kB / 0.57 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.2976, allocations: 4.043 MB / 0.5739 GB, free: 5.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.521, allocations: 3.438 kB / 0.5739 GB, free: 5.086 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.156213356007356]