Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001867/0.001867, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002063/0.002063, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2965/0.2965, allocations: 46.95 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.89 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 66.03 MB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003243/0.3377, allocations: 1.717 MB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.3404, allocations: 1.661 MB / 0.564 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.3405, allocations: 4 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.3408, allocations: 39.77 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.3411, allocations: 103.5 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.3413, allocations: 75.69 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3415, allocations: 107.7 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3416, allocations: 9.812 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.3417, allocations: 43.8 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3418, allocations: 47.7 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3418, allocations: 8 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.342, allocations: 99.94 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.3421, allocations: 23.92 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3421, allocations: 27.84 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3424, allocations: 175.3 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3424, allocations: 0 / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3424, allocations: 0 / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3424, allocations: 0 / 0.5647 GB, free: 60 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000662/0.3431, allocations: 349.6 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3431, allocations: 8.031 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.3432, allocations: 38.75 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3432, allocations: 12.84 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.3435, allocations: 154.7 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3435, allocations: 4 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3436, allocations: 3.938 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3437, allocations: 93.09 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3437, allocations: 0 / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3438, allocations: 8 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3438, allocations: 0 / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.3439, allocations: 19.98 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3442, allocations: 256 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3444, allocations: 62.61 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.3445, allocations: 20.86 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3445, allocations: 4 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.3447, allocations: 75.31 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3447, allocations: 0 / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.3452, allocations: 177.3 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.3453, allocations: 89.05 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3455, allocations: 167.8 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3455, allocations: 37.64 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.3455, allocations: 96.12 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3456, allocations: 27.75 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3456, allocations: 33.64 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3458, allocations: 318.8 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.3459, allocations: 16 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.346, allocations: 72.27 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3461, allocations: 57.7 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3461, allocations: 0 / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000219/0.3463, allocations: 113.6 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3463, allocations: 4 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3463, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3464, allocations: 7.984 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.3465, allocations: 19.92 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3465, allocations: 3.938 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.3465, allocations: 4 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3465, allocations: 8 kB / 0.5669 GB, free: 13.51 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 (10): * Single equations (assignments): 10 * 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.0001465/0.3467, allocations: 117.8 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3467, allocations: 7.953 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.347, allocations: 122.5 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.347, allocations: 7.938 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.347, allocations: 0 / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.347, allocations: 0 / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.3475, allocations: 374.4 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3475, allocations: 3.938 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.3476, allocations: 15.98 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3476, allocations: 0 / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3476, allocations: 0 / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3476, allocations: 8.406 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3476, allocations: 0 / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3479, allocations: 216.5 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.3479, allocations: 19.81 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.348, allocations: 8 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.348, allocations: 4 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3481, allocations: 7.984 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3481, allocations: 4 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3482, allocations: 131.2 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3482, allocations: 0 / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.3486, allocations: 59.81 kB / 0.568 GB, free: 12.33 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.002808/0.3514, allocations: 1.231 MB / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3516, allocations: 55.92 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3516, allocations: 0 / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.3517, allocations: 32.05 kB / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3521, allocations: 35.91 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3541, allocations: 1.6 MB / 0.5709 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3542, allocations: 81.33 kB / 0.571 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.577e-05/0.3543, allocations: 25.34 kB / 0.571 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3544, allocations: 35.41 kB / 0.571 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3544, allocations: 0 / 0.571 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.3907, allocations: 4.745 MB / 0.5757 GB, free: 4.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 8.062 kB / 0.5757 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.088275577872992]