Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001329/0.001329, allocations: 107.9 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.001634/0.001634, allocations: 210.1 kB / 23.77 MB, free: 4.332 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2349/0.2349, allocations: 46.95 MB / 360.9 MB, free: 3.895 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 75.88 kB / 0.4963 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3554, allocations: 66.08 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003424/0.3588, allocations: 1.786 MB / 0.5626 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3608, allocations: 1.041 MB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.3609, allocations: 0 / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.3614, allocations: 311.2 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.3619, allocations: 263.2 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3622, allocations: 107.7 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.3625, allocations: 263.3 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.3626, allocations: 5.812 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.3628, allocations: 135.5 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.3631, allocations: 219.4 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3631, allocations: 4 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3632, allocations: 47.98 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.3634, allocations: 147.5 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.3635, allocations: 107.1 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.3639, allocations: 388 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3639, allocations: 0 / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3639, allocations: 0 / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.364, allocations: 0 / 0.5655 GB, free: 15.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001014/0.365, allocations: 0.6941 MB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.365, allocations: 8.031 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.3651, allocations: 38.75 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.3651, allocations: 48.61 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.3658, allocations: 386.5 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3658, allocations: 4.375 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3658, allocations: 16.3 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.366, allocations: 95.41 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.366, allocations: 3.984 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3661, allocations: 4 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3661, allocations: 4 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3662, allocations: 27.98 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.3666, allocations: 341.4 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.3669, allocations: 105.2 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.367, allocations: 37.7 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.367, allocations: 0 / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3673, allocations: 128.9 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3673, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005127/0.3678, allocations: 209.2 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.3679, allocations: 81.11 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3691, allocations: 1.058 MB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3691, allocations: 33.7 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.3693, allocations: 236.1 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.3694, allocations: 31.8 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3694, allocations: 33.7 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.3697, allocations: 374.8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.3697, allocations: 27.98 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3699, allocations: 59.34 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3701, allocations: 91.41 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3701, allocations: 4 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003213/0.3704, allocations: 177.7 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3704, allocations: 14.23 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3704, allocations: 4 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3704, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3706, allocations: 16 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3706, allocations: 7.984 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3707, allocations: 15.94 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3707, allocations: 4 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002507/0.371, allocations: 226.6 kB / 0.57 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.371, allocations: 59.56 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.3715, allocations: 205.8 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3715, allocations: 4 kB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3715, allocations: 3.938 kB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3715, allocations: 0 / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.3718, allocations: 292.6 kB / 0.5705 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3718, allocations: 3.938 kB / 0.5705 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3719, allocations: 8 kB / 0.5705 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3719, allocations: 4 kB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3719, allocations: 0 / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3719, allocations: 4 kB / 0.5705 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3719, allocations: 0 / 0.5705 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.3722, allocations: 225.5 kB / 0.5707 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.3724, allocations: 71.53 kB / 0.5708 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.3724, allocations: 7.984 kB / 0.5708 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.3725, allocations: 7.984 kB / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3726, allocations: 7.984 kB / 0.5708 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3726, allocations: 8 kB / 0.5708 GB, free: 9.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008641/0.3734, allocations: 0.7917 MB / 0.5716 GB, free: 8.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3734, allocations: 0 / 0.5716 GB, free: 8.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.3737, allocations: 51.92 kB / 0.5717 GB, free: 8.527 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002249/0.376, allocations: 1.096 MB / 0.5727 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.3763, allocations: 83.89 kB / 0.5728 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3763, allocations: 0 / 0.5728 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3764, allocations: 39.92 kB / 0.5728 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.3769, allocations: 69.52 kB / 0.5729 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.3831, allocations: 4.594 MB / 0.5774 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.3834, allocations: 237.8 kB / 0.5776 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3836, allocations: 58.94 kB / 0.5777 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.3838, allocations: 155.4 kB / 0.5778 GB, free: 2.195 MB / 414.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3838, allocations: 4 kB / 0.5778 GB, free: 2.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.4225, allocations: 10.08 MB / 0.5877 GB, free: 8.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 7.438 kB / 0.5877 GB, free: 8.148 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.728357604002667]