Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001723/0.001723, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002083/0.002083, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2154/0.2154, allocations: 44.89 MB / 355.1 MB, free: 12.34 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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.00194/0.00194, allocations: 79.88 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1141, allocations: 65.42 MB / 0.5518 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003186/0.1173, allocations: 1.731 MB / 0.5535 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1191, allocations: 1.044 MB / 0.5545 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.1192, allocations: 0 / 0.5545 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.1195, allocations: 47.75 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.1198, allocations: 103.5 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.12, allocations: 79.67 kB / 0.5548 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1202, allocations: 103.7 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1203, allocations: 16.27 kB / 0.5549 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.1204, allocations: 39.8 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.1205, allocations: 39.77 kB / 0.555 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1205, allocations: 4 kB / 0.555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.1206, allocations: 43.98 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.1207, allocations: 27.86 kB / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.1207, allocations: 39.73 kB / 0.5551 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1209, allocations: 131.4 kB / 0.5552 GB, free: 6.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1209, allocations: 0 / 0.5552 GB, free: 6.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1209, allocations: 0 / 0.5552 GB, free: 6.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1209, allocations: 0 / 0.5552 GB, free: 6.605 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.0005568/0.1215, allocations: 438.5 kB / 0.5556 GB, free: 6.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1215, allocations: 12.03 kB / 0.5556 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.1216, allocations: 30.75 kB / 0.5557 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1216, allocations: 12.89 kB / 0.5557 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1219, allocations: 228.9 kB / 0.5559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1219, allocations: 384 / 0.5559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1219, allocations: 7.938 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1221, allocations: 53.67 kB / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1221, allocations: 0 / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1221, allocations: 0 / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1221, allocations: 0 / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.1222, allocations: 23.92 kB / 0.556 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1226, allocations: 304.8 kB / 0.5563 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1228, allocations: 54.67 kB / 0.5563 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.1228, allocations: 16.84 kB / 0.5563 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1228, allocations: 4 kB / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.123, allocations: 71.33 kB / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.123, allocations: 0 / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005977/0.1236, allocations: 177.4 kB / 0.5566 GB, free: 5.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1236, allocations: 55.39 kB / 0.5566 GB, free: 4.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1239, allocations: 234 kB / 0.5568 GB, free: 4.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1239, allocations: 33.7 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.124, allocations: 108.1 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.124, allocations: 31.72 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1241, allocations: 33.7 kB / 0.557 GB, free: 4.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1242, allocations: 322.8 kB / 0.5573 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.1243, allocations: 23.98 kB / 0.5574 GB, free: 4.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.1243, allocations: 29.72 kB / 0.5574 GB, free: 4.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1244, allocations: 61.64 kB / 0.5575 GB, free: 4.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1244, allocations: 4 kB / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1246, allocations: 105.5 kB / 0.5576 GB, free: 3.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1247, allocations: 8 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1247, allocations: 0 / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1247, allocations: 0 / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.1248, allocations: 12 kB / 0.5576 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1248, allocations: 4 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1248, allocations: 7.922 kB / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1248, allocations: 4 kB / 0.5576 GB, free: 3.895 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.0001096/0.1249, allocations: 136 kB / 0.5577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.125, allocations: 15.91 kB / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.125, allocations: 17.34 kB / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.125, allocations: 0 / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.125, allocations: 4 kB / 0.5578 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.125, allocations: 3.938 kB / 0.5578 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.1255, allocations: 399.3 kB / 0.5581 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1255, allocations: 4.031 kB / 0.5581 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1255, allocations: 12.31 kB / 0.5582 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1255, allocations: 11.92 kB / 0.5582 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1255, allocations: 3.984 kB / 0.5582 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1256, allocations: 4 kB / 0.5582 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1256, allocations: 0 / 0.5582 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1258, allocations: 208.5 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1258, allocations: 93.02 kB / 0.5585 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1259, allocations: 3.938 kB / 0.5585 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1259, allocations: 7.984 kB / 0.5585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.126, allocations: 4 kB / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.126, allocations: 4 kB / 0.5585 GB, free: 2.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.1261, allocations: 184.3 kB / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1261, allocations: 0 / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1264, allocations: 24.12 kB / 0.5587 GB, free: 2.668 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.002143/0.1285, allocations: 1.104 MB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1288, allocations: 51.92 kB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1288, allocations: 4 kB / 0.5598 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.1288, allocations: 27.92 kB / 0.5598 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1292, allocations: 33.03 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1314, allocations: 1.754 MB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1318, allocations: 0.7196 MB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.1318, allocations: 13.19 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.1319, allocations: 43.41 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1319, allocations: 4 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1572, allocations: 3.646 MB / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.429, allocations: 4 kB / 0.5659 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.508804042357951]