Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001259/0.001259, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001202/0.001202, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9095/0.9095, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.697e-05, allocations: 6.281 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002068/0.002085, allocations: 1.713 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.00317, allocations: 0.9741 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.003244, allocations: 0 / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.003526, allocations: 35.83 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.003816, allocations: 103.4 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.003991, allocations: 75.66 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.004136, allocations: 107.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.004226, allocations: 7.984 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.004304, allocations: 55.89 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.004371, allocations: 23.92 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.004387, allocations: 4 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.004472, allocations: 55.78 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.004526, allocations: 19.92 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.004563, allocations: 19.92 kB / 442.9 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004724, allocations: 111.6 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004726, allocations: 0 / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004727, allocations: 0 / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.004731, allocations: 0 / 443 MB, free: 0.8477 MB / 410.7 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.0003933/0.005125, allocations: 349.5 kB / 443.3 MB, free: 488 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005161, allocations: 16.03 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.005188, allocations: 34.69 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.005218, allocations: 12.84 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.005521, allocations: 150.2 kB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005535, allocations: 4.312 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005556, allocations: 8.359 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005666, allocations: 57.98 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.005676, allocations: 0 / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.005683, allocations: 0 / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005688, allocations: 4 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.005737, allocations: 23.98 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1568/0.1626, allocations: 256.9 kB / 443.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1627, allocations: 56.12 kB / 443.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.1628, allocations: 24.56 kB / 443.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1628, allocations: 3.75 kB / 443.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.1629, allocations: 63.97 kB / 444 MB, free: 45.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1629, allocations: 0 / 444 MB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004438/0.1634, allocations: 182.6 kB / 444.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1634, allocations: 55.09 kB / 444.2 MB, free: 45.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1635, allocations: 183.7 kB / 444.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1635, allocations: 28.36 kB / 444.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.1635, allocations: 102.5 kB / 444.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1636, allocations: 28.44 kB / 444.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1636, allocations: 18.97 kB / 444.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.1636, allocations: 334.5 kB / 444.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.1637, allocations: 21.5 kB / 444.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.1637, allocations: 37.38 kB / 445 MB, free: 45.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.1638, allocations: 57.98 kB / 445 MB, free: 45.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1638, allocations: 0 / 445 MB, free: 45.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.1639, allocations: 115.7 kB / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1639, allocations: 7.438 kB / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1639, allocations: 0 / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1639, allocations: 2.906 kB / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.164, allocations: 16 kB / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.164, allocations: 3.203 kB / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.164, allocations: 3.562 kB / 445.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.164, allocations: 6.781 kB / 445.2 MB, free: 45.02 MB / 410.7 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 5.256e-05/0.1641, allocations: 127.6 kB / 445.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.1641, allocations: 17.31 kB / 445.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.1642, allocations: 123.2 kB / 445.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1642, allocations: 0 / 445.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1643, allocations: 2.688 kB / 445.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1643, allocations: 6.672 kB / 445.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1645, allocations: 366.4 kB / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1645, allocations: 0 / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.1645, allocations: 14.33 kB / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1645, allocations: 3.062 kB / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1646, allocations: 2.344 kB / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1646, allocations: 1.375 kB / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1646, allocations: 2.938 kB / 445.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1647, allocations: 220.4 kB / 446.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.1647, allocations: 9.688 kB / 446.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1647, allocations: 5.906 kB / 446.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.1647, allocations: 0 / 446.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1648, allocations: 8.281 kB / 446.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1648, allocations: 9.562 kB / 446.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.1648, allocations: 149.5 kB / 446.2 MB, free: 44.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1648, allocations: 0 / 446.2 MB, free: 44.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.165, allocations: 22.41 kB / 446.3 MB, free: 44.36 MB / 410.7 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.0008619/0.1659, allocations: 1.14 MB / 447.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.166, allocations: 62.36 kB / 447.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.166, allocations: 0 / 447.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.166, allocations: 32.88 kB / 447.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1663, allocations: 24.28 kB / 447.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.1672, allocations: 1.65 MB / 449.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.805e-05/0.1672, allocations: 96 kB / 449.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.1673, allocations: 17.45 kB / 449.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.1673, allocations: 36.58 kB / 449.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1673, allocations: 0.875 kB / 449.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.1837, allocations: 4.23 MB / 453.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.198, allocations: 0 / 453.5 MB, free: 40.96 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.26224206853658]