Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001329/0.001329, allocations: 107 kB / 20.48 MB, free: 1.125 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.002197/0.002197, allocations: 211.5 kB / 23.78 MB, free: 4.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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2278/0.2278, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 75.88 kB / 0.4963 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3579, allocations: 66.09 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.0032/0.3611, allocations: 1.708 MB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3629, allocations: 0.9632 MB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.363, allocations: 4 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.3633, allocations: 43.77 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.3637, allocations: 99.53 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.3639, allocations: 75.73 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3641, allocations: 107.6 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3642, allocations: 9.828 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.3643, allocations: 43.78 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.3644, allocations: 31.78 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3644, allocations: 4 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3645, allocations: 51.98 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.3646, allocations: 19.91 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.3646, allocations: 27.75 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.3648, allocations: 123.5 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3649, allocations: 0 / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3649, allocations: 0 / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3649, allocations: 0 / 0.564 GB, free: 0.668 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006054/0.3655, allocations: 333.6 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3655, allocations: 16.02 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.3656, allocations: 30.75 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3656, allocations: 16.84 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3659, allocations: 162.2 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3659, allocations: 384 / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3659, allocations: 4.375 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3661, allocations: 57.8 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3661, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3661, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3661, allocations: 4 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.3662, allocations: 19.98 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.3666, allocations: 256 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3668, allocations: 58.62 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.3669, allocations: 20.84 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3669, allocations: 4 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.3671, allocations: 67.33 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3671, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.3677, allocations: 185.3 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3677, allocations: 59.39 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3679, allocations: 179.3 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.368, allocations: 29.7 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.368, allocations: 108.1 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3681, allocations: 23.84 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3681, allocations: 25.66 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3683, allocations: 330.7 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.3683, allocations: 23.98 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.3684, allocations: 41.69 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3685, allocations: 57.7 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3685, allocations: 384 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.3687, allocations: 113.6 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3688, allocations: 8 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3688, allocations: 3.984 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3688, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.3689, allocations: 16 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3689, allocations: 4 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3689, allocations: 7.875 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3689, allocations: 7.984 kB / 0.5662 GB, free: 14.23 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 (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.0001083/0.369, allocations: 125.8 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3691, allocations: 11.98 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.3693, allocations: 123 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3693, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3693, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3693, allocations: 3.984 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.3698, allocations: 366.4 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3698, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.3699, allocations: 11.98 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3699, allocations: 0 / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3699, allocations: 12.03 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3699, allocations: 3.938 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3699, allocations: 0 / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3702, allocations: 220.4 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.3702, allocations: 11.89 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3702, allocations: 4 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.3703, allocations: 7.938 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.3703, allocations: 7.984 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3703, allocations: 0 / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3705, allocations: 148.9 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3705, allocations: 0 / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3707, allocations: 27.94 kB / 0.5673 GB, free: 13.07 MB / 414.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 (9): * Single equations (assignments): 7 * 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.002304/0.373, allocations: 1.122 MB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3732, allocations: 63.84 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3732, allocations: 4 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.3733, allocations: 27.98 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3736, allocations: 31.66 kB / 0.5685 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3755, allocations: 1.658 MB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.129e-05/0.3756, allocations: 92.31 kB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.3757, allocations: 8.984 kB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.3757, allocations: 35.42 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3757, allocations: 0 / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.4052, allocations: 4.177 MB / 0.5743 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.47, allocations: 0 / 0.5743 GB, free: 5.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.566099361982197]