Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00271/0.00271, allocations: 208.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 46.96 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.89 kB / 0.4962 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 66.03 MB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003739/0.3605, allocations: 1.729 MB / 0.5624 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3623, allocations: 0.9716 MB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.3624, allocations: 3.938 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.3628, allocations: 87.69 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3631, allocations: 119.5 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.3633, allocations: 79.69 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3635, allocations: 127.6 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3636, allocations: 21.8 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.3637, allocations: 59.7 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3638, allocations: 71.73 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3638, allocations: 8 kB / 0.5639 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.364, allocations: 51.98 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.364, allocations: 39.83 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.3641, allocations: 23.81 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3643, allocations: 143.4 kB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3643, allocations: 0 / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.3643, allocations: 7.984 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3643, allocations: 4 kB / 0.5641 GB, free: 0.6445 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.0005879/0.3649, allocations: 377.3 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.365, allocations: 8.031 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.365, allocations: 34.73 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.3651, allocations: 16.84 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3654, allocations: 167 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3654, allocations: 8.312 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3654, allocations: 3.938 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3656, allocations: 61.67 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3656, allocations: 4 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3656, allocations: 4 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3656, allocations: 0 / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.3657, allocations: 23.97 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3661, allocations: 271.9 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3663, allocations: 62.5 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.3664, allocations: 20.97 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3664, allocations: 0 / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.3666, allocations: 71.38 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3666, allocations: 4 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000819/0.3674, allocations: 261.7 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.3675, allocations: 63.22 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.3678, allocations: 239 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3678, allocations: 29.7 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3679, allocations: 112.1 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.368, allocations: 35.73 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.3681, allocations: 21.72 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3682, allocations: 334.8 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.3683, allocations: 35.98 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.3684, allocations: 45.08 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3685, allocations: 85.69 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3685, allocations: 4 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002488/0.3688, allocations: 129.5 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3688, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3688, allocations: 7.938 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3688, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.3689, allocations: 31.89 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3689, allocations: 4 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.369, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.369, allocations: 4 kB / 0.5666 GB, free: 13.9 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.0001326/0.3691, allocations: 129.8 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3691, allocations: 15.91 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3695, allocations: 158.9 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3695, allocations: 3.938 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3695, allocations: 0 / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3695, allocations: 0 / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.3701, allocations: 431.1 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3701, allocations: 0 / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.3702, allocations: 19.92 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3702, allocations: 4 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3702, allocations: 4 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3702, allocations: 4 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3702, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3706, allocations: 245 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.3706, allocations: 15.97 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3706, allocations: 4 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.3707, allocations: 4 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3708, allocations: 15.97 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3708, allocations: 7.984 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.371, allocations: 171.2 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.371, allocations: 4 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3713, allocations: 31.92 kB / 0.5678 GB, free: 12.56 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.002887/0.3742, allocations: 1.224 MB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.3744, allocations: 79.91 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3744, allocations: 3.938 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3745, allocations: 43.91 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.3749, allocations: 38.69 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3772, allocations: 1.858 MB / 0.571 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.3773, allocations: 109.8 kB / 0.5711 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.3774, allocations: 16.58 kB / 0.5711 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.3775, allocations: 47.42 kB / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3775, allocations: 0 / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.408, allocations: 4.635 MB / 0.5757 GB, free: 4.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 8 kB / 0.5757 GB, free: 4.672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.014390090014786]