Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001853/0.001853, allocations: 107.8 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.002406/0.002406, allocations: 212.2 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.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 7.719 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.2531/0.2531, allocations: 46.94 MB / 360.8 MB, free: 3.871 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 83.86 kB / 0.4963 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3833, allocations: 66.1 MB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003382/0.3867, allocations: 1.716 MB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3885, allocations: 0.9748 MB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.3886, allocations: 0 / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.3889, allocations: 83.7 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.3893, allocations: 123.5 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3895, allocations: 79.72 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3897, allocations: 123.6 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3898, allocations: 17.8 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3899, allocations: 55.72 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.39, allocations: 59.8 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3901, allocations: 4 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3902, allocations: 59.98 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.3903, allocations: 35.78 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.3903, allocations: 35.8 kB / 0.5641 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.3906, allocations: 139.4 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3906, allocations: 0 / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3906, allocations: 0 / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3906, allocations: 0 / 0.5642 GB, free: 452 kB / 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.000651/0.3913, allocations: 369.4 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3913, allocations: 8.031 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.3913, allocations: 34.75 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.3914, allocations: 24.91 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3917, allocations: 158.2 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3917, allocations: 8.375 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3917, allocations: 4.375 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3919, allocations: 65.78 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3919, allocations: 3.938 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.392, allocations: 0 / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.392, allocations: 4 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.3921, allocations: 27.97 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3925, allocations: 275.8 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.3928, allocations: 54.55 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.3928, allocations: 20.98 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3928, allocations: 4 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.393, allocations: 75.31 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.393, allocations: 0 / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008185/0.3938, allocations: 253.4 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3939, allocations: 51.41 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3941, allocations: 231.4 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3942, allocations: 29.7 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.3942, allocations: 108.1 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.3943, allocations: 39.73 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3943, allocations: 25.72 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3945, allocations: 322.8 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.3946, allocations: 31.98 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.3947, allocations: 45.7 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3948, allocations: 85.69 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3948, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002433/0.3951, allocations: 129.5 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3951, allocations: 15.97 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3951, allocations: 3.984 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3951, allocations: 0 / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.3952, allocations: 20 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3952, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.3953, allocations: 7.922 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3953, allocations: 8 kB / 0.5667 GB, free: 13.73 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.0001134/0.3954, allocations: 125.8 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.3954, allocations: 19.89 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.3958, allocations: 154.8 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3958, allocations: 8 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3958, allocations: 3.984 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3958, allocations: 3.938 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.3964, allocations: 423.1 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3964, allocations: 7.984 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.3964, allocations: 15.94 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3964, allocations: 0 / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3965, allocations: 8 kB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3965, allocations: 0 / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3965, allocations: 4.062 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.3968, allocations: 249 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3968, allocations: 15.84 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3968, allocations: 3.984 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3969, allocations: 8 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.3969, allocations: 7.984 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.397, allocations: 7.984 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.3971, allocations: 173.2 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3971, allocations: 0 / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3974, allocations: 31.94 kB / 0.5679 GB, free: 12.39 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 (12): * Single equations (assignments): 10 * 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.002635/0.4, allocations: 1.21 MB / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.4003, allocations: 83.83 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4003, allocations: 0 / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.4004, allocations: 39.92 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4007, allocations: 39.88 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4029, allocations: 1.835 MB / 0.571 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.403, allocations: 97.77 kB / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.403, allocations: 24.41 kB / 0.5711 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.4031, allocations: 51.42 kB / 0.5712 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4031, allocations: 0 / 0.5712 GB, free: 9.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.4358, allocations: 4.654 MB / 0.5757 GB, free: 4.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.58, allocations: 3.094 kB / 0.5757 GB, free: 4.449 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_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_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.088429525960237]