Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001314/0.001314, 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.00151/0.00151, allocations: 205.9 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.235/0.235, allocations: 46.94 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 79.86 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3328, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002922/0.3357, allocations: 1.79 MB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3374, allocations: 1.045 MB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.3375, allocations: 3.938 kB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.3379, allocations: 295.3 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.3383, allocations: 259.2 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3385, allocations: 107.7 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3388, allocations: 263.2 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.3388, allocations: 5.812 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.339, allocations: 135.5 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.3392, allocations: 211.9 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3392, allocations: 12 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.3393, allocations: 47.98 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3394, allocations: 136.5 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.97e-05/0.3395, allocations: 107.1 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.3399, allocations: 380 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.3399, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3399, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.3399, allocations: 0 / 0.5654 GB, free: 15.23 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.0008423/0.3408, allocations: 0.6747 MB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.3408, allocations: 12.03 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.3408, allocations: 34.75 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.3409, allocations: 48.61 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.3414, allocations: 390.5 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3414, allocations: 4.312 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3415, allocations: 12.36 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3416, allocations: 83.5 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.3416, allocations: 0 / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3416, allocations: 7.984 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-06/0.3416, allocations: 0 / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3417, allocations: 39.92 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.3421, allocations: 329.5 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.3423, allocations: 101.2 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.3424, allocations: 49.62 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3424, allocations: 0 / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3426, allocations: 109 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3426, allocations: 4 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004377/0.3431, allocations: 213.1 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3431, allocations: 81.11 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3442, allocations: 1.03 MB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3443, allocations: 33.7 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.3445, allocations: 232.1 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3445, allocations: 23.84 kB / 0.5688 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.3445, allocations: 33.66 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3447, allocations: 366.8 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.3448, allocations: 35.98 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3449, allocations: 66.91 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3451, allocations: 87.36 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3451, allocations: 0 / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003088/0.3454, allocations: 181.8 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3454, allocations: 8 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.3454, allocations: 0 / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.3454, allocations: 4.062 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3455, allocations: 27.92 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.3455, allocations: 0 / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-05/0.3456, allocations: 23.88 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3456, allocations: 4 kB / 0.5696 GB, free: 10.68 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.000205/0.3458, allocations: 220 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.3459, allocations: 55.61 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.3463, allocations: 201.8 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3463, allocations: 3.938 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3463, allocations: 4 kB / 0.57 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3463, allocations: 7.984 kB / 0.57 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.3466, allocations: 288.6 kB / 0.5703 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3466, allocations: 3.938 kB / 0.5703 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.3466, allocations: 15.94 kB / 0.5703 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3466, allocations: 0 / 0.5703 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3466, allocations: 4 kB / 0.5703 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3467, allocations: 7.984 kB / 0.5704 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3467, allocations: 0 / 0.5704 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.347, allocations: 209.6 kB / 0.5706 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3471, allocations: 75.53 kB / 0.5706 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.3472, allocations: 4 kB / 0.5706 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.3472, allocations: 7.984 kB / 0.5706 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3473, allocations: 11.98 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3473, allocations: 4 kB / 0.5707 GB, free: 9.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008396/0.3481, allocations: 0.7721 MB / 0.5714 GB, free: 8.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 3.938 kB / 0.5714 GB, free: 8.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.3484, allocations: 47.94 kB / 0.5715 GB, free: 8.68 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.002109/0.3505, allocations: 1.091 MB / 0.5725 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3507, allocations: 83.89 kB / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.3507, allocations: 0 / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3508, allocations: 43.91 kB / 0.5726 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3512, allocations: 72.33 kB / 0.5727 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.3568, allocations: 4.495 MB / 0.5771 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.357, allocations: 241.8 kB / 0.5773 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.3572, allocations: 54.95 kB / 0.5774 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3573, allocations: 151.4 kB / 0.5775 GB, free: 2.461 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3573, allocations: 0 / 0.5775 GB, free: 2.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.3945, allocations: 9.842 MB / 0.5871 GB, free: 8.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 2.875 kB / 0.5871 GB, free: 8.641 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.856869767885655]