Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001296/0.001296, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001344/0.001344, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.443/1.443, allocations: 230.4 MB / 254 MB, free: 15.03 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.2221/0.2221, allocations: 46.92 MB / 357 MB, free: 10.19 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 87.86 kB / 0.4911 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 66.05 MB / 0.5556 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003079/0.1216, allocations: 1.737 MB / 0.5572 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.124, allocations: 1.64 MB / 0.5588 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.124, allocations: 3.938 kB / 0.5589 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1243, allocations: 35.77 kB / 0.5589 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1246, allocations: 107.5 kB / 0.559 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1248, allocations: 75.73 kB / 0.5591 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.125, allocations: 103.6 kB / 0.5592 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.1251, allocations: 15.98 kB / 0.5592 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.1252, allocations: 47.78 kB / 0.5592 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1253, allocations: 43.83 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1253, allocations: 4 kB / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1255, allocations: 107.9 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.1256, allocations: 19.92 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1256, allocations: 39.72 kB / 0.5594 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1259, allocations: 179.3 kB / 0.5596 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1259, allocations: 0 / 0.5596 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1259, allocations: 0 / 0.5596 GB, free: 1.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1259, allocations: 0 / 0.5596 GB, free: 1.305 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.0005876/0.1265, allocations: 422.7 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1266, allocations: 15.95 kB / 0.56 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.1266, allocations: 42.69 kB / 0.5601 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1267, allocations: 12.84 kB / 0.5601 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.127, allocations: 216.7 kB / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.127, allocations: 384 / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.127, allocations: 11.88 kB / 0.5603 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1272, allocations: 63.39 kB / 0.5603 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1272, allocations: 0 / 0.5603 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1272, allocations: 8 kB / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1272, allocations: 3.984 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.1273, allocations: 12 kB / 0.5604 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1277, allocations: 296.9 kB / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1278, allocations: 54.61 kB / 0.5607 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.1279, allocations: 16.91 kB / 0.5607 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1279, allocations: 0 / 0.5607 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.1281, allocations: 75.34 kB / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1281, allocations: 0 / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005473/0.1286, allocations: 181.3 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1287, allocations: 77.11 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1289, allocations: 163 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1289, allocations: 33.7 kB / 0.5612 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/0.129, allocations: 96.12 kB / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.129, allocations: 31.73 kB / 0.5613 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.129, allocations: 29.66 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1292, allocations: 322.8 kB / 0.5617 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.1293, allocations: 19.98 kB / 0.5617 GB, free: 14.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.1293, allocations: 46.56 kB / 0.5617 GB, free: 14.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1295, allocations: 53.7 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1295, allocations: 4.031 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.1297, allocations: 101.6 kB / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1297, allocations: 8 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1297, allocations: 0 / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1297, allocations: 0 / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.1298, allocations: 19.98 kB / 0.5619 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1298, allocations: 7.875 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.1298, allocations: 3.938 kB / 0.5619 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1299, allocations: 4 kB / 0.5619 GB, free: 14.64 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.0001098/0.13, allocations: 127 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.13, allocations: 7.953 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.13, allocations: 20.64 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.13, allocations: 0 / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.13, allocations: 0 / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.13, allocations: 3.938 kB / 0.5621 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1305, allocations: 399.3 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1305, allocations: 4.031 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.1306, allocations: 8 kB / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1306, allocations: 7.922 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1306, allocations: 0 / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1306, allocations: 4 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1306, allocations: 0 / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1308, allocations: 204.5 kB / 0.5627 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1309, allocations: 89.06 kB / 0.5628 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1309, allocations: 11.92 kB / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.131, allocations: 4.375 kB / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1311, allocations: 0 / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1311, allocations: 11.97 kB / 0.5628 GB, free: 13.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1312, allocations: 131.3 kB / 0.5629 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1312, allocations: 0 / 0.5629 GB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.1315, allocations: 43.88 kB / 0.563 GB, free: 13.48 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.002423/0.1339, allocations: 1.18 MB / 0.5641 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1341, allocations: 55.92 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1341, allocations: 0 / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.1342, allocations: 27.98 kB / 0.5642 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1346, allocations: 42.48 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1365, allocations: 1.588 MB / 0.5658 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1368, allocations: 0.7041 MB / 0.5665 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.1369, allocations: 13.19 kB / 0.5665 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.137, allocations: 35.42 kB / 0.5665 GB, free: 9.871 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.137, allocations: 0 / 0.5665 GB, free: 9.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/0.1928, allocations: 4.045 MB / 0.5705 GB, free: 5.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.288, allocations: 3.375 kB / 0.5705 GB, free: 5.848 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.361102777067572]