Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001485/0.001485, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2428/0.2428, allocations: 46.96 MB / 360.9 MB, free: 4 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00324/0.00324, allocations: 71.88 kB / 0.4962 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4341, allocations: 66.04 MB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003367/0.4374, allocations: 1.736 MB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.4392, allocations: 0.9715 MB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.4393, allocations: 4 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.4397, allocations: 91.67 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.44, allocations: 123.5 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.4402, allocations: 79.67 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.4404, allocations: 119.7 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.4405, allocations: 17.8 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4407, allocations: 59.7 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.4408, allocations: 67.8 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4408, allocations: 4 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.4409, allocations: 63.97 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.441, allocations: 31.86 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.4411, allocations: 31.73 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.4413, allocations: 147.4 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4413, allocations: 0 / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4413, allocations: 0 / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4413, allocations: 0 / 0.5641 GB, free: 0.6172 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.0006308/0.4419, allocations: 377.3 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.442, allocations: 8.031 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.442, allocations: 34.75 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.4421, allocations: 16.83 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.4424, allocations: 168.9 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4424, allocations: 6.438 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4424, allocations: 4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4426, allocations: 57.67 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4426, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4426, allocations: 4 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4426, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.4427, allocations: 27.91 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.4431, allocations: 275.8 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.4434, allocations: 66.55 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.4434, allocations: 16.98 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.4435, allocations: 0 / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.4436, allocations: 79.25 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4436, allocations: 0 / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007803/0.4444, allocations: 257.1 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4445, allocations: 51.41 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4447, allocations: 239 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.4447, allocations: 37.7 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.4448, allocations: 108.2 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.4449, allocations: 39.69 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.4449, allocations: 29.7 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4451, allocations: 326.8 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.4451, allocations: 27.98 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.4452, allocations: 45.7 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4454, allocations: 89.69 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4454, allocations: 3.938 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002427/0.4456, allocations: 129.5 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4456, allocations: 8 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4456, allocations: 0.7031 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4457, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.4457, allocations: 31.92 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4457, allocations: 0 / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4458, allocations: 4 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4458, allocations: 4 kB / 0.5666 GB, free: 13.88 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.0001224/0.4459, allocations: 137.8 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.446, allocations: 15.94 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.4463, allocations: 159 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4463, allocations: 3.938 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4463, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4463, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.4469, allocations: 431.1 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4469, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.4469, allocations: 19.98 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4469, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4469, allocations: 8.062 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4469, allocations: 4 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4469, allocations: 3.938 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.4473, allocations: 245.1 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.4473, allocations: 11.91 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.4473, allocations: 4 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.4474, allocations: 11.98 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.4474, allocations: 11.92 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.4475, allocations: 7.938 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.4476, allocations: 179.2 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4476, allocations: 4 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.4479, allocations: 27.94 kB / 0.5678 GB, free: 12.52 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.002702/0.4506, allocations: 1.219 MB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.4509, allocations: 79.89 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4509, allocations: 0 / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.451, allocations: 39.92 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.4514, allocations: 47.97 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.4537, allocations: 1.854 MB / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.4538, allocations: 105.8 kB / 0.5711 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.4538, allocations: 24.62 kB / 0.5711 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.4539, allocations: 43.42 kB / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4539, allocations: 0 / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4847, allocations: 4.622 MB / 0.5756 GB, free: 4.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.72, allocations: 9.938 kB / 0.5757 GB, free: 4.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_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_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.949144918005913]