Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002341/0.002341, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.4 MB / 254 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 46.92 MB / 357 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 83.88 kB / 0.4911 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1394, allocations: 66.04 MB / 0.5555 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004123/0.1435, allocations: 1.733 MB / 0.5572 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1456, allocations: 1.038 MB / 0.5583 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1457, allocations: 0 / 0.5583 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.1461, allocations: 55.75 kB / 0.5583 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.1465, allocations: 103.5 kB / 0.5584 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1468, allocations: 71.73 kB / 0.5585 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1471, allocations: 115.6 kB / 0.5586 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1472, allocations: 8 kB / 0.5586 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1473, allocations: 43.78 kB / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.1474, allocations: 31.84 kB / 0.5587 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1474, allocations: 4 kB / 0.5587 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1475, allocations: 47.92 kB / 0.5587 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1476, allocations: 31.86 kB / 0.5587 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.1477, allocations: 43.67 kB / 0.5588 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.148, allocations: 135.4 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.148, allocations: 0 / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.148, allocations: 4 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.148, allocations: 0 / 0.5589 GB, free: 2.055 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.0007612/0.1487, allocations: 454.3 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1488, allocations: 8.031 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1488, allocations: 42.67 kB / 0.5594 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.1489, allocations: 12.84 kB / 0.5594 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.1493, allocations: 225.1 kB / 0.5596 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1494, allocations: 384 / 0.5596 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1494, allocations: 4.375 kB / 0.5596 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1496, allocations: 61.78 kB / 0.5597 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1496, allocations: 0 / 0.5597 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1496, allocations: 3.938 kB / 0.5597 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1496, allocations: 0 / 0.5597 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.1497, allocations: 23.92 kB / 0.5597 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.1503, allocations: 308.8 kB / 0.56 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1505, allocations: 50.69 kB / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.1505, allocations: 20.84 kB / 0.5601 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1505, allocations: 0 / 0.5601 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1507, allocations: 75.33 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1507, allocations: 0 / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006742/0.1514, allocations: 181.3 kB / 0.5603 GB, free: 440 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1514, allocations: 51.41 kB / 0.5604 GB, free: 376 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.1518, allocations: 270.8 kB / 0.5606 GB, free: 92 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1518, allocations: 33.7 kB / 0.5607 GB, free: 52 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1519, allocations: 112.1 kB / 0.5608 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1519, allocations: 31.77 kB / 0.5608 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.152, allocations: 25.72 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1522, allocations: 334.8 kB / 0.5611 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.136e-05/0.1522, allocations: 16 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.1523, allocations: 37.7 kB / 0.5612 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1524, allocations: 61.64 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1524, allocations: 0 / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002216/0.1527, allocations: 109.9 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1527, allocations: 4 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1527, allocations: 0 / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1527, allocations: 4 kB / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.1528, allocations: 23.94 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1528, allocations: 0 / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.1529, allocations: 7.984 kB / 0.5614 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1529, allocations: 0 / 0.5614 GB, free: 15.26 MB / 430.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.0001414/0.153, allocations: 141.8 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.153, allocations: 15.91 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1531, allocations: 17.41 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1531, allocations: 0 / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1531, allocations: 3.984 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1531, allocations: 4 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.1536, allocations: 411.4 kB / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1536, allocations: 192 / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.1537, allocations: 15.97 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1537, allocations: 3.938 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1537, allocations: 8 kB / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1537, allocations: 3.938 kB / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1537, allocations: 0 / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.154, allocations: 196.3 kB / 0.5622 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.1541, allocations: 93 kB / 0.5623 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1541, allocations: 12 kB / 0.5623 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.1542, allocations: 3.938 kB / 0.5623 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1542, allocations: 11.92 kB / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1542, allocations: 4 kB / 0.5623 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.1544, allocations: 204.6 kB / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1544, allocations: 0 / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1547, allocations: 27.92 kB / 0.5625 GB, free: 14 MB / 430.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.002266/0.157, allocations: 1.095 MB / 0.5636 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.1572, allocations: 59.84 kB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1572, allocations: 0 / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.1573, allocations: 31.92 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1576, allocations: 22.73 kB / 0.5637 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.1599, allocations: 1.851 MB / 0.5655 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1603, allocations: 0.7274 MB / 0.5662 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.1604, allocations: 12.89 kB / 0.5662 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.1604, allocations: 47.41 kB / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1604, allocations: 0 / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1865, allocations: 3.814 MB / 0.57 GB, free: 6.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.006, allocations: 7.969 kB / 0.57 GB, free: 6.406 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.320235700113699]