Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001924/0.001924, allocations: 127 kB / 17.79 MB, free: 5.242 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.002721/0.002721, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.503/1.503, 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.2277/0.2277, allocations: 46.9 MB / 357 MB, free: 10.21 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 83.88 kB / 0.4911 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1274, allocations: 66.05 MB / 0.5556 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003788/0.1312, allocations: 1.754 MB / 0.5573 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1331, allocations: 1.04 MB / 0.5583 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1332, allocations: 0 / 0.5583 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.1336, allocations: 103.7 kB / 0.5584 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.1341, allocations: 127.5 kB / 0.5585 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1343, allocations: 83.66 kB / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.1346, allocations: 131.7 kB / 0.5587 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1347, allocations: 19.97 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1349, allocations: 59.75 kB / 0.5588 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.135, allocations: 79.67 kB / 0.5589 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1351, allocations: 4 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.1352, allocations: 59.98 kB / 0.5589 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.1353, allocations: 31.91 kB / 0.559 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1354, allocations: 51.61 kB / 0.559 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1357, allocations: 151.3 kB / 0.5592 GB, free: 1.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1357, allocations: 4 kB / 0.5592 GB, free: 1.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1357, allocations: 7.938 kB / 0.5592 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1357, allocations: 3.938 kB / 0.5592 GB, free: 1.734 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007665/0.1365, allocations: 458.4 kB / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1365, allocations: 8.031 kB / 0.5596 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.411e-05/0.1366, allocations: 38.73 kB / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.1367, allocations: 16.84 kB / 0.5597 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.1371, allocations: 225 kB / 0.5599 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1371, allocations: 4.375 kB / 0.5599 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1372, allocations: 12.31 kB / 0.5599 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1374, allocations: 69.78 kB / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1374, allocations: 0 / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1374, allocations: 0 / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1374, allocations: 4 kB / 0.56 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1375, allocations: 31.97 kB / 0.56 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.138, allocations: 324.7 kB / 0.5603 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1383, allocations: 78.48 kB / 0.5604 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1384, allocations: 20.84 kB / 0.5604 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1384, allocations: 4 kB / 0.5604 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.1386, allocations: 75.41 kB / 0.5605 GB, free: 220 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1386, allocations: 0 / 0.5605 GB, free: 220 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008915/0.1395, allocations: 285.4 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1395, allocations: 51.41 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1398, allocations: 259.7 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.1399, allocations: 29.7 kB / 0.5611 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.14, allocations: 112.1 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.14, allocations: 39.69 kB / 0.5612 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.1401, allocations: 25.72 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1402, allocations: 330.8 kB / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.1403, allocations: 35.98 kB / 0.5616 GB, free: 15.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-05/0.1404, allocations: 50.95 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1406, allocations: 93.58 kB / 0.5617 GB, free: 14.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1406, allocations: 4 kB / 0.5617 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002651/0.1409, allocations: 141.6 kB / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1409, allocations: 4 kB / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1409, allocations: 7.969 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1409, allocations: 4 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.141, allocations: 23.98 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.141, allocations: 3.938 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.1411, allocations: 11.89 kB / 0.5619 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1411, allocations: 4 kB / 0.5619 GB, free: 14.65 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 (14): * Single equations (assignments): 14 * 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.0001327/0.1412, allocations: 135.4 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1412, allocations: 15.91 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.1413, allocations: 33.33 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.1413, allocations: 4 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1413, allocations: 0 / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1413, allocations: 7.875 kB / 0.5621 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.142, allocations: 468 kB / 0.5626 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.142, allocations: 0 / 0.5626 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.142, allocations: 23.86 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.142, allocations: 4.062 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.142, allocations: 8 kB / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.142, allocations: 0 / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.142, allocations: 4 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.1424, allocations: 249 kB / 0.5628 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1424, allocations: 96.94 kB / 0.5629 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1425, allocations: 11.98 kB / 0.5629 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.1425, allocations: 4 kB / 0.563 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.1426, allocations: 11.98 kB / 0.563 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1426, allocations: 4 kB / 0.563 GB, free: 13.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.1428, allocations: 197.5 kB / 0.5632 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1428, allocations: 3.938 kB / 0.5632 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1431, allocations: 31.92 kB / 0.5632 GB, free: 13.26 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 (12): * Single equations (assignments): 10 * 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.002546/0.1456, allocations: 1.187 MB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1459, allocations: 79.91 kB / 0.5644 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1459, allocations: 0 / 0.5644 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.146, allocations: 47.98 kB / 0.5645 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1463, allocations: 34.84 kB / 0.5645 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1489, allocations: 1.968 MB / 0.5664 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1493, allocations: 0.7162 MB / 0.5671 GB, free: 9.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.613e-05/0.1493, allocations: 21.06 kB / 0.5671 GB, free: 9.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1494, allocations: 55.41 kB / 0.5672 GB, free: 9.191 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1494, allocations: 4 kB / 0.5672 GB, free: 9.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.1769, allocations: 4.2 MB / 0.5713 GB, free: 5.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.315, allocations: 7.266 kB / 0.5713 GB, free: 5.035 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_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_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.529999322956428]