Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001822/0.001822, 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.002328/0.002328, 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.65/1.65, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2993/0.2993, allocations: 44.91 MB / 355.1 MB, free: 12.31 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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.002004/0.002004, allocations: 79.88 kB / 499.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1315, allocations: 65.41 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003062/0.1346, allocations: 1.739 MB / 0.5535 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.137, allocations: 1.646 MB / 0.5551 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.1371, allocations: 7.875 kB / 0.5551 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1373, allocations: 39.77 kB / 0.5552 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1376, allocations: 99.59 kB / 0.5553 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.1378, allocations: 75.67 kB / 0.5554 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.138, allocations: 107.6 kB / 0.5555 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.1381, allocations: 12.27 kB / 0.5555 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.1381, allocations: 47.78 kB / 0.5555 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1383, allocations: 47.81 kB / 0.5556 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1383, allocations: 8 kB / 0.5556 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.1385, allocations: 111.9 kB / 0.5557 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1385, allocations: 15.92 kB / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.1386, allocations: 31.8 kB / 0.5557 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1389, allocations: 179.2 kB / 0.5559 GB, free: 5.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1389, allocations: 4 kB / 0.5559 GB, free: 5.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1389, allocations: 0 / 0.5559 GB, free: 5.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1389, allocations: 0 / 0.5559 GB, free: 5.984 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.0006244/0.1395, allocations: 426.6 kB / 0.5563 GB, free: 5.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1395, allocations: 8.031 kB / 0.5563 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1396, allocations: 42.73 kB / 0.5563 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1396, allocations: 12.84 kB / 0.5564 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1399, allocations: 219.3 kB / 0.5566 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1399, allocations: 0 / 0.5566 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.14, allocations: 7.938 kB / 0.5566 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1401, allocations: 71.33 kB / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1402, allocations: 0 / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1402, allocations: 4 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1402, allocations: 4 kB / 0.5567 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.1402, allocations: 15.98 kB / 0.5567 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.1406, allocations: 288.9 kB / 0.5569 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1408, allocations: 54.62 kB / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.1409, allocations: 24.84 kB / 0.557 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1409, allocations: 0 / 0.557 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.141, allocations: 67.39 kB / 0.5571 GB, free: 4.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.141, allocations: 0 / 0.5571 GB, free: 4.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.1416, allocations: 177.4 kB / 0.5573 GB, free: 4.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1417, allocations: 81.05 kB / 0.5573 GB, free: 4.309 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1418, allocations: 165.5 kB / 0.5575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1419, allocations: 33.7 kB / 0.5575 GB, free: 4.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.1419, allocations: 96.12 kB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.142, allocations: 27.75 kB / 0.5576 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.142, allocations: 25.7 kB / 0.5577 GB, free: 3.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1422, allocations: 322.8 kB / 0.558 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.1422, allocations: 31.88 kB / 0.558 GB, free: 3.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.1423, allocations: 46.56 kB / 0.558 GB, free: 3.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1424, allocations: 53.7 kB / 0.5581 GB, free: 3.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1424, allocations: 0 / 0.5581 GB, free: 3.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.1426, allocations: 101.6 kB / 0.5582 GB, free: 3.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1426, allocations: 8 kB / 0.5582 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1426, allocations: 0 / 0.5582 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1427, allocations: 0 / 0.5582 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.1427, allocations: 19.94 kB / 0.5582 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1428, allocations: 4.062 kB / 0.5582 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.1428, allocations: 3.984 kB / 0.5582 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1428, allocations: 4 kB / 0.5582 GB, free: 3.328 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.0001266/0.1429, allocations: 125.8 kB / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.143, allocations: 11.94 kB / 0.5584 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.143, allocations: 16.7 kB / 0.5584 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.143, allocations: 3.938 kB / 0.5584 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.143, allocations: 3.938 kB / 0.5584 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.143, allocations: 0 / 0.5584 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.1435, allocations: 403.3 kB / 0.5588 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1435, allocations: 3.938 kB / 0.5588 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1436, allocations: 8 kB / 0.5588 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1436, allocations: 0 / 0.5588 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1436, allocations: 7.984 kB / 0.5588 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1436, allocations: 4 kB / 0.5588 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1436, allocations: 0 / 0.5588 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1438, allocations: 208.5 kB / 0.559 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.1439, allocations: 89 kB / 0.5591 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1439, allocations: 4 kB / 0.5591 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.144, allocations: 8.359 kB / 0.5591 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.144, allocations: 0 / 0.5591 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.144, allocations: 8 kB / 0.5591 GB, free: 2.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1442, allocations: 127.2 kB / 0.5592 GB, free: 2.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1442, allocations: 4 kB / 0.5592 GB, free: 2.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1445, allocations: 47.86 kB / 0.5593 GB, free: 2.16 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.002429/0.1469, allocations: 1.194 MB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1471, allocations: 63.91 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1471, allocations: 0 / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.1472, allocations: 23.98 kB / 0.5605 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1475, allocations: 26.22 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1495, allocations: 1.592 MB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.1498, allocations: 0.6963 MB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.781e-05/0.1499, allocations: 25.17 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.15, allocations: 35.41 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.15, allocations: 0 / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1769, allocations: 4.058 MB / 0.5668 GB, free: 10.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.376, allocations: 11.45 kB / 0.5668 GB, free: 10.52 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.78605772415176]