Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001747/0.001747, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002276/0.002276, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.616/1.616, allocations: 230.4 MB / 254 MB, free: 15.02 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.2427/0.2427, allocations: 46.91 MB / 357 MB, free: 10.28 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 79.88 kB / 0.4911 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1316, allocations: 66.05 MB / 0.5556 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.0037/0.1353, allocations: 1.754 MB / 0.5573 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1371, allocations: 1.032 MB / 0.5583 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1372, allocations: 3.938 kB / 0.5583 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.1376, allocations: 87.69 kB / 0.5584 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.138, allocations: 115.6 kB / 0.5585 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1383, allocations: 79.67 kB / 0.5586 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1386, allocations: 123.6 kB / 0.5587 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1387, allocations: 15.97 kB / 0.5587 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1388, allocations: 59.77 kB / 0.5587 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.139, allocations: 59.75 kB / 0.5588 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.139, allocations: 4 kB / 0.5588 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1391, allocations: 63.97 kB / 0.5589 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1392, allocations: 23.92 kB / 0.5589 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.1392, allocations: 43.62 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1395, allocations: 155.3 kB / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1395, allocations: 0 / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1395, allocations: 0 / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1396, allocations: 0 / 0.5591 GB, free: 1.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00065/0.1402, allocations: 438.5 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1402, allocations: 8.031 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1403, allocations: 34.75 kB / 0.5595 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.1403, allocations: 20.84 kB / 0.5596 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.1407, allocations: 220.1 kB / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1407, allocations: 8.359 kB / 0.5598 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1407, allocations: 384 / 0.5598 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1409, allocations: 65.78 kB / 0.5598 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1409, allocations: 0 / 0.5598 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1409, allocations: 4 kB / 0.5598 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1409, allocations: 4 kB / 0.5598 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.141, allocations: 19.98 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1415, allocations: 308.7 kB / 0.5602 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1417, allocations: 58.48 kB / 0.5602 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.1418, allocations: 20.97 kB / 0.5602 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1418, allocations: 4 kB / 0.5602 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.1419, allocations: 71.45 kB / 0.5603 GB, free: 464 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.707e-06/0.142, allocations: 3.984 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008088/0.1428, allocations: 249.1 kB / 0.5605 GB, free: 204 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1428, allocations: 51.41 kB / 0.5606 GB, free: 140 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1431, allocations: 227.9 kB / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1431, allocations: 29.7 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.1432, allocations: 108.1 kB / 0.5609 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.1432, allocations: 35.75 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.1433, allocations: 29.7 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1434, allocations: 322.8 kB / 0.5613 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.1435, allocations: 31.98 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.1436, allocations: 41.7 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1437, allocations: 81.64 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1437, allocations: 7.938 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002491/0.144, allocations: 121.6 kB / 0.5616 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.144, allocations: 4 kB / 0.5616 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.144, allocations: 4 kB / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.144, allocations: 0 / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1441, allocations: 23.92 kB / 0.5616 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1441, allocations: 4 kB / 0.5616 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.1441, allocations: 7.938 kB / 0.5616 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1442, allocations: 4 kB / 0.5616 GB, free: 15.02 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 (13): * Single equations (assignments): 13 * 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.0001288/0.1443, allocations: 139.5 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.1443, allocations: 15.91 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.1444, allocations: 17.41 kB / 0.5618 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1444, allocations: 4 kB / 0.5618 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1444, allocations: 7.984 kB / 0.5618 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1444, allocations: 3.938 kB / 0.5618 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.145, allocations: 448 kB / 0.5622 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.145, allocations: 7.984 kB / 0.5622 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.1451, allocations: 19.81 kB / 0.5623 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1451, allocations: 4 kB / 0.5623 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1451, allocations: 4 kB / 0.5623 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1451, allocations: 4 kB / 0.5623 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1451, allocations: 0 / 0.5623 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1454, allocations: 229.2 kB / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.1455, allocations: 92.95 kB / 0.5626 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1455, allocations: 8 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1456, allocations: 7.922 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1456, allocations: 8 kB / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.1456, allocations: 7.984 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1458, allocations: 165.2 kB / 0.5628 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1458, allocations: 4 kB / 0.5628 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1461, allocations: 27.94 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002454/0.1485, allocations: 1.181 MB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1488, allocations: 79.84 kB / 0.564 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1488, allocations: 0 / 0.564 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.1489, allocations: 35.92 kB / 0.5641 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1493, allocations: 34.25 kB / 0.5641 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.1515, allocations: 1.819 MB / 0.5659 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1519, allocations: 0.7159 MB / 0.5666 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.152, allocations: 24.62 kB / 0.5666 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.1521, allocations: 39.42 kB / 0.5666 GB, free: 9.809 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1521, allocations: 0 / 0.5666 GB, free: 9.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.1797, allocations: 3.917 MB / 0.5705 GB, free: 5.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.112, allocations: 8.562 kB / 0.5705 GB, free: 5.938 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.50694544496946]