Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001396/0.001396, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001486/0.001486, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.413/1.413, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2217/0.2217, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 79.86 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3577, allocations: 66.08 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003362/0.3611, allocations: 1.732 MB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3629, allocations: 0.9749 MB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.3629, allocations: 7.938 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3632, allocations: 103.7 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.3636, allocations: 131.5 kB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3638, allocations: 79.67 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.364, allocations: 123.6 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.3641, allocations: 17.8 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.3642, allocations: 59.77 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3643, allocations: 71.72 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3643, allocations: 4 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3644, allocations: 55.98 kB / 0.564 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.3645, allocations: 35.84 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.3645, allocations: 31.8 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3648, allocations: 159.2 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3648, allocations: 0 / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3648, allocations: 0 / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3648, 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.0005804/0.3654, allocations: 381.3 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3654, allocations: 8.031 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.3655, allocations: 34.75 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.3655, allocations: 16.84 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3658, allocations: 154.4 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3658, allocations: 16.36 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3658, allocations: 8.328 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.366, allocations: 65.72 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.366, allocations: 4 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.366, allocations: 3.984 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.366, allocations: 0 / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.3661, allocations: 23.98 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.3665, allocations: 283.8 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.3668, allocations: 58.44 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.3668, allocations: 28.97 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3668, allocations: 4 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.367, allocations: 71.38 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.367, allocations: 0 / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007694/0.3678, allocations: 257.7 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3678, allocations: 55.41 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3681, allocations: 254.7 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3681, allocations: 29.7 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.3682, allocations: 120.1 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3682, allocations: 39.69 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.3683, allocations: 25.72 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3684, allocations: 322.8 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.3685, allocations: 31.98 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.251e-05/0.3686, allocations: 49.69 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3687, allocations: 77.7 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3687, allocations: 3.938 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002442/0.369, allocations: 137.5 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.369, allocations: 6.344 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.369, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.369, allocations: 4 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.3691, allocations: 19.94 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3691, allocations: 3.984 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.3691, allocations: 7.938 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3692, allocations: 8 kB / 0.5667 GB, free: 13.67 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.000115/0.3693, allocations: 129.8 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3693, allocations: 15.91 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.3696, allocations: 163 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3696, allocations: 0 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3696, allocations: 0 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3696, allocations: 3.938 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.3702, allocations: 423.2 kB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3702, allocations: 7.938 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.3703, allocations: 19.92 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3703, allocations: 0 / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3703, allocations: 4 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3703, allocations: 8.062 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3703, allocations: 0 / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3706, allocations: 249 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.3706, allocations: 19.94 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3706, allocations: 7.938 kB / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.3707, allocations: 0 / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3707, allocations: 11.98 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3708, allocations: 11.98 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3709, allocations: 188.2 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3709, allocations: 0 / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3712, allocations: 39.94 kB / 0.568 GB, free: 12.29 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.002558/0.3738, allocations: 1.207 MB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.374, allocations: 71.91 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.374, allocations: 0 / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.3741, allocations: 47.84 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3744, allocations: 42.06 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3766, allocations: 1.903 MB / 0.5712 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.3767, allocations: 105.1 kB / 0.5713 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.296e-05/0.3768, allocations: 24.64 kB / 0.5713 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.3769, allocations: 43.42 kB / 0.5713 GB, free: 8.906 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3769, allocations: 0 / 0.5713 GB, free: 8.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.4064, allocations: 4.71 MB / 0.5759 GB, free: 4.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 11.27 kB / 0.576 GB, free: 4.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_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_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.84334126720205]