Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.00159/0.00159, allocations: 124.5 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.001904/0.001904, allocations: 211.2 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.55/1.55, 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.2209/0.2209, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.00279/0.00279, allocations: 71.89 kB / 499.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1332, allocations: 65.42 MB / 0.5518 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00341/0.1366, allocations: 1.733 MB / 0.5535 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1385, allocations: 1.031 MB / 0.5545 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.1386, allocations: 0 / 0.5545 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1389, allocations: 51.69 kB / 0.5546 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1392, allocations: 103.5 kB / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1394, allocations: 71.73 kB / 0.5548 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1396, allocations: 103.7 kB / 0.5549 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1397, allocations: 12.27 kB / 0.5549 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1398, allocations: 51.72 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.1399, allocations: 31.84 kB / 0.5549 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1399, allocations: 4 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.14, allocations: 47.92 kB / 0.555 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.1401, allocations: 23.91 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.1401, allocations: 31.75 kB / 0.555 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1403, allocations: 119.5 kB / 0.5552 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1403, allocations: 4 kB / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1403, allocations: 3.938 kB / 0.5552 GB, free: 6.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1403, allocations: 0 / 0.5552 GB, free: 6.613 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.0005926/0.1409, allocations: 418.6 kB / 0.5556 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.141, allocations: 12.03 kB / 0.5556 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.141, allocations: 38.69 kB / 0.5556 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1411, allocations: 8.891 kB / 0.5556 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1413, allocations: 223.1 kB / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1414, allocations: 12.36 kB / 0.5559 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1414, allocations: 3.938 kB / 0.5559 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1415, allocations: 57.67 kB / 0.5559 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1416, allocations: 4 kB / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.1416, allocations: 0 / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1416, allocations: 0 / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.1416, allocations: 23.92 kB / 0.5559 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.142, allocations: 284.9 kB / 0.5562 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1422, allocations: 54.61 kB / 0.5563 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.1423, allocations: 16.92 kB / 0.5563 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1423, allocations: 4 kB / 0.5563 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.1425, allocations: 71.33 kB / 0.5563 GB, free: 5.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1425, allocations: 0 / 0.5563 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.143, allocations: 177.3 kB / 0.5565 GB, free: 5.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.143, allocations: 59.34 kB / 0.5566 GB, free: 4.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1432, allocations: 198.3 kB / 0.5568 GB, free: 4.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1433, allocations: 29.7 kB / 0.5568 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.1433, allocations: 100.1 kB / 0.5569 GB, free: 4.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1434, allocations: 27.83 kB / 0.5569 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1434, allocations: 25.72 kB / 0.5569 GB, free: 4.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1436, allocations: 322.8 kB / 0.5572 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1436, allocations: 19.98 kB / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.1437, allocations: 41.7 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1438, allocations: 53.66 kB / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1438, allocations: 0 / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.144, allocations: 105.6 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.144, allocations: 8 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.144, allocations: 0 / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.144, allocations: 0 / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.1441, allocations: 23.92 kB / 0.5575 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1441, allocations: 0 / 0.5575 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.1442, allocations: 3.938 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1442, allocations: 4 kB / 0.5575 GB, free: 3.988 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.0001126/0.1443, allocations: 136 kB / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1443, allocations: 15.91 kB / 0.5576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.1444, allocations: 13.59 kB / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1444, allocations: 0 / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1444, allocations: 3.938 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1444, allocations: 7.938 kB / 0.5577 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.1448, allocations: 395.6 kB / 0.558 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1448, allocations: 0 / 0.558 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.1449, allocations: 12 kB / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1449, allocations: 15.91 kB / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1449, allocations: 0 / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1449, allocations: 0 / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1449, allocations: 3.984 kB / 0.5581 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1451, allocations: 200.3 kB / 0.5583 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.1452, allocations: 88.95 kB / 0.5583 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1452, allocations: 11.94 kB / 0.5584 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1453, allocations: 4 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1453, allocations: 7.984 kB / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1453, allocations: 4 kB / 0.5584 GB, free: 2.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1455, allocations: 148.2 kB / 0.5585 GB, free: 2.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1455, allocations: 0 / 0.5585 GB, free: 2.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1457, allocations: 20 kB / 0.5585 GB, free: 2.812 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.002138/0.1479, allocations: 1.104 MB / 0.5596 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1481, allocations: 59.92 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1481, allocations: 0 / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.1481, allocations: 27.92 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1485, allocations: 35.28 kB / 0.5597 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1504, allocations: 1.661 MB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1507, allocations: 0.708 MB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.1507, allocations: 17.17 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.1508, allocations: 35.42 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1508, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1751, allocations: 3.482 MB / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.205, allocations: 3.875 kB / 0.5655 GB, free: 11.78 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_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_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.468406590167433]