Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001302/0.001302, allocations: 114 kB / 20.44 MB, free: 1.469 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.001421/0.001421, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2311/0.2311, allocations: 46.93 MB / 360.8 MB, free: 4.18 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 71.88 kB / 0.4963 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3381, allocations: 66.09 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003595/0.3417, allocations: 1.737 MB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.3443, allocations: 1.745 MB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.3444, allocations: 3.938 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.3447, allocations: 31.83 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.345, allocations: 103.5 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.3453, allocations: 83.66 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3455, allocations: 115.6 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3456, allocations: 13.81 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3457, allocations: 55.78 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3459, allocations: 43.83 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.3459, allocations: 4 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3461, allocations: 111.9 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3462, allocations: 19.94 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.3462, allocations: 43.72 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3466, allocations: 179.4 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3466, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3466, allocations: 3.938 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3466, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000632/0.3472, allocations: 361.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3472, allocations: 12.03 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.3473, allocations: 34.73 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.3473, allocations: 8.891 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.3477, allocations: 166.3 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3477, allocations: 384 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3477, allocations: 4.375 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3479, allocations: 83.45 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3479, allocations: 7.938 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3479, allocations: 4 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3479, allocations: 0 / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.348, allocations: 35.86 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3484, allocations: 267.9 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3486, allocations: 70.61 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.3487, allocations: 20.84 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3487, allocations: 4 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3489, allocations: 71.39 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3489, allocations: 0 / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000612/0.3495, allocations: 205.4 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3496, allocations: 81.11 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3498, allocations: 175.2 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3498, allocations: 25.7 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.3499, allocations: 104.1 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3499, allocations: 27.75 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.3499, allocations: 29.7 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3501, allocations: 322.8 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.3502, allocations: 31.98 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.3502, allocations: 42.56 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3504, allocations: 69.7 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3504, allocations: 3.938 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.3506, allocations: 113.5 kB / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3507, allocations: 4 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3507, allocations: 8.062 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3507, allocations: 4.172 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.3508, allocations: 12 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3508, allocations: 7.938 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.3508, allocations: 0 / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3508, allocations: 7.984 kB / 0.5673 GB, free: 13.36 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 (11): * Single equations (assignments): 11 * 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.0001123/0.351, allocations: 125.8 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.351, allocations: 11.89 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.3513, allocations: 126.8 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3513, allocations: 4 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3513, allocations: 3.984 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3513, allocations: 0 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.3518, allocations: 398.2 kB / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3518, allocations: 0 / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.3518, allocations: 11.94 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3519, allocations: 4 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3519, allocations: 4 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3519, allocations: 7.969 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3519, allocations: 4 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3522, allocations: 212.3 kB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.3522, allocations: 11.91 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.3522, allocations: 8 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.3523, allocations: 7.938 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3523, allocations: 11.98 kB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3523, allocations: 11.97 kB / 0.5682 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.3525, allocations: 131.2 kB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3525, allocations: 0 / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.3528, allocations: 47.86 kB / 0.5684 GB, free: 12.14 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.002527/0.3553, allocations: 1.176 MB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.3555, allocations: 71.83 kB / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3555, allocations: 0 / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.3556, allocations: 39.98 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.356, allocations: 39.41 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.358, allocations: 1.649 MB / 0.5713 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3583, allocations: 0.7045 MB / 0.572 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.3584, allocations: 24.42 kB / 0.572 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.3585, allocations: 39.42 kB / 0.572 GB, free: 8.445 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3585, allocations: 0 / 0.572 GB, free: 8.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3902, allocations: 4.372 MB / 0.5763 GB, free: 4.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 3.859 kB / 0.5763 GB, free: 4.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.657568276998063]