Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001296/0.001296, allocations: 124.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.001439/0.001439, 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.533/1.533, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2551/0.2551, allocations: 44.9 MB / 355.1 MB, free: 12.31 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001955/0.001955, allocations: 67.89 kB / 499.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1445, allocations: 65.42 MB / 0.5518 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003696/0.1482, allocations: 1.734 MB / 0.5535 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1502, allocations: 1.034 MB / 0.5545 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.1503, allocations: 3.938 kB / 0.5545 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1506, allocations: 39.77 kB / 0.5546 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.1509, allocations: 95.53 kB / 0.5547 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1511, allocations: 79.67 kB / 0.5548 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1514, allocations: 103.7 kB / 0.5548 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1515, allocations: 12.28 kB / 0.5549 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1516, allocations: 47.72 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.1517, allocations: 39.78 kB / 0.5549 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1517, allocations: 7.938 kB / 0.555 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1518, allocations: 43.98 kB / 0.555 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1519, allocations: 15.92 kB / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.152, allocations: 43.72 kB / 0.5551 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1522, allocations: 115.5 kB / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1522, allocations: 0 / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1522, allocations: 0 / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1522, allocations: 0 / 0.5552 GB, free: 6.617 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.0006971/0.1529, allocations: 418.7 kB / 0.5556 GB, free: 6.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.153, allocations: 11.97 kB / 0.5556 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.153, allocations: 38.73 kB / 0.5556 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1531, allocations: 12.84 kB / 0.5556 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1534, allocations: 210.4 kB / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1534, allocations: 384 / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1534, allocations: 7.938 kB / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1536, allocations: 53.67 kB / 0.5559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1536, allocations: 0 / 0.5559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.1536, allocations: 3.938 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1536, allocations: 4 kB / 0.5559 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.1537, allocations: 19.98 kB / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1542, allocations: 288.8 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1544, allocations: 58.67 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.1544, allocations: 24.8 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1544, allocations: 0 / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.1546, allocations: 67.38 kB / 0.5563 GB, free: 5.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1546, allocations: 0 / 0.5563 GB, free: 5.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000579/0.1552, allocations: 169.4 kB / 0.5565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1552, allocations: 55.41 kB / 0.5565 GB, free: 5.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1554, allocations: 185.6 kB / 0.5567 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1555, allocations: 33.7 kB / 0.5568 GB, free: 4.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.1555, allocations: 104.1 kB / 0.5568 GB, free: 4.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1556, allocations: 23.8 kB / 0.5569 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.1556, allocations: 21.7 kB / 0.5569 GB, free: 4.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1558, allocations: 322.8 kB / 0.5572 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.1558, allocations: 20 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.1559, allocations: 33.7 kB / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1561, allocations: 69.81 kB / 0.5573 GB, free: 4.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1561, allocations: 0 / 0.5573 GB, free: 4.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.1563, allocations: 109.5 kB / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1563, allocations: 8 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1563, allocations: 384 / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1563, allocations: 0 / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.1564, allocations: 12 kB / 0.5574 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1564, allocations: 11.94 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.1565, allocations: 11.95 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1565, allocations: 8 kB / 0.5575 GB, free: 4.004 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.0001232/0.1566, allocations: 121.8 kB / 0.5576 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1566, allocations: 7.953 kB / 0.5576 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1567, allocations: 17.39 kB / 0.5576 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1567, allocations: 7.938 kB / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1567, allocations: 0 / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1567, allocations: 3.938 kB / 0.5576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1572, allocations: 391.3 kB / 0.558 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1572, allocations: 7.938 kB / 0.558 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1572, allocations: 11.98 kB / 0.558 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1572, allocations: 3.938 kB / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1572, allocations: 0 / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1572, allocations: 0 / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1572, allocations: 4 kB / 0.558 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1575, allocations: 200.4 kB / 0.5582 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1575, allocations: 85.02 kB / 0.5583 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1576, allocations: 15.92 kB / 0.5583 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1576, allocations: 0 / 0.5583 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1577, allocations: 7.938 kB / 0.5583 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1577, allocations: 7.984 kB / 0.5583 GB, free: 3.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1578, allocations: 137.8 kB / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1578, allocations: 4 kB / 0.5585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1581, allocations: 23.94 kB / 0.5585 GB, free: 2.855 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.002191/0.1603, allocations: 1.095 MB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1605, allocations: 55.91 kB / 0.5596 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1605, allocations: 0 / 0.5596 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.1605, allocations: 23.94 kB / 0.5596 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1609, allocations: 42.36 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1628, allocations: 1.645 MB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1631, allocations: 0.7041 MB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.1632, allocations: 25.17 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.1633, allocations: 31.42 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1633, allocations: 0 / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1898, allocations: 3.414 MB / 0.5654 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.175, allocations: 7.875 kB / 0.5654 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.471593062393367]