Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001749/0.001749, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002098/0.002098, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2297/0.2297, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.89 kB / 499.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.158, allocations: 65.43 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003134/0.1611, allocations: 1.737 MB / 0.5535 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1628, allocations: 1.019 MB / 0.5545 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.1629, allocations: 4 kB / 0.5545 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1632, allocations: 47.69 kB / 0.5546 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1635, allocations: 99.5 kB / 0.5547 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1637, allocations: 79.66 kB / 0.5548 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1639, allocations: 99.75 kB / 0.5548 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.164, allocations: 12.27 kB / 0.5549 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.1641, allocations: 51.72 kB / 0.5549 GB, free: 7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.1642, allocations: 31.8 kB / 0.5549 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1642, allocations: 4 kB / 0.5549 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1643, allocations: 47.97 kB / 0.555 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1644, allocations: 19.92 kB / 0.555 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.1644, allocations: 35.73 kB / 0.555 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1647, allocations: 111.5 kB / 0.5551 GB, free: 6.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1647, allocations: 4 kB / 0.5552 GB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1647, allocations: 0 / 0.5552 GB, free: 6.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1647, allocations: 0 / 0.5552 GB, free: 6.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005953/0.1653, allocations: 422.7 kB / 0.5556 GB, free: 6.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1653, allocations: 11.97 kB / 0.5556 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.1653, allocations: 30.75 kB / 0.5556 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1654, allocations: 20.84 kB / 0.5556 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1657, allocations: 206.4 kB / 0.5558 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1657, allocations: 8.375 kB / 0.5558 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1657, allocations: 3.938 kB / 0.5558 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1659, allocations: 57.67 kB / 0.5559 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1659, allocations: 3.984 kB / 0.5559 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1659, allocations: 0 / 0.5559 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1659, allocations: 0 / 0.5559 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.166, allocations: 27.92 kB / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1663, allocations: 284.8 kB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1665, allocations: 58.67 kB / 0.5562 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.1666, allocations: 16.86 kB / 0.5563 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.1666, allocations: 11.92 kB / 0.5563 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1668, allocations: 63.39 kB / 0.5563 GB, free: 5.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1668, allocations: 4 kB / 0.5563 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005664/0.1673, allocations: 177.3 kB / 0.5565 GB, free: 5.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1674, allocations: 55.39 kB / 0.5566 GB, free: 5.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1676, allocations: 181.6 kB / 0.5567 GB, free: 4.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1676, allocations: 29.7 kB / 0.5568 GB, free: 4.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.1677, allocations: 100.1 kB / 0.5568 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1677, allocations: 23.8 kB / 0.5569 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1677, allocations: 25.7 kB / 0.5569 GB, free: 4.746 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1679, allocations: 326.8 kB / 0.5572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.168, allocations: 23.98 kB / 0.5572 GB, free: 4.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.168, allocations: 37.64 kB / 0.5573 GB, free: 4.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1682, allocations: 61.66 kB / 0.5573 GB, free: 4.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1682, allocations: 0 / 0.5573 GB, free: 4.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.1683, allocations: 101.5 kB / 0.5574 GB, free: 4.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1684, allocations: 8.031 kB / 0.5574 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1684, allocations: 4 kB / 0.5574 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1684, allocations: 0 / 0.5574 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.1685, allocations: 12 kB / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1685, allocations: 3.938 kB / 0.5574 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.1685, allocations: 15.92 kB / 0.5575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1685, allocations: 4 kB / 0.5575 GB, free: 4.133 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.0001027/0.1686, allocations: 117.8 kB / 0.5576 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1687, allocations: 11.95 kB / 0.5576 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.1687, allocations: 17.39 kB / 0.5576 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1687, allocations: 0 / 0.5576 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1687, allocations: 4 kB / 0.5576 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1687, allocations: 7.875 kB / 0.5576 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.1692, allocations: 387.5 kB / 0.558 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1692, allocations: 0 / 0.558 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.1693, allocations: 19.92 kB / 0.558 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.1693, allocations: 8.312 kB / 0.558 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1693, allocations: 4.031 kB / 0.558 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1693, allocations: 4 kB / 0.558 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1693, allocations: 80 / 0.558 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1695, allocations: 200.3 kB / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1696, allocations: 97 kB / 0.5583 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1696, allocations: 7.938 kB / 0.5583 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1697, allocations: 4 kB / 0.5583 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1698, allocations: 11.92 kB / 0.5583 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1698, allocations: 8 kB / 0.5583 GB, free: 3.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1699, allocations: 133.8 kB / 0.5585 GB, free: 3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1699, allocations: 4 kB / 0.5585 GB, free: 2.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1702, allocations: 27.92 kB / 0.5585 GB, free: 2.969 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 (8): * Single equations (assignments): 6 * 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.002198/0.1724, allocations: 1.083 MB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1726, allocations: 59.91 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1726, allocations: 0 / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.1726, allocations: 31.92 kB / 0.5596 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.173, allocations: 33.27 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.1749, allocations: 1.646 MB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1753, allocations: 0.7002 MB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.1753, allocations: 20.86 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.1754, allocations: 35.42 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1754, allocations: 0 / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.2002, allocations: 3.409 MB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.155, allocations: 15.81 kB / 0.5654 GB, free: 12.04 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.447555547114462]