Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.00181/0.00181, 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.002368/0.002368, 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.442/1.442, 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.2096/0.2096, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001965/0.001965, allocations: 71.89 kB / 499.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003583/0.134, allocations: 1.954 MB / 0.5537 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1359, allocations: 1.068 MB / 0.5548 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.136, allocations: 7.938 kB / 0.5548 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1364, allocations: 39.72 kB / 0.5548 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.1367, allocations: 103.5 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1369, allocations: 95.7 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1371, allocations: 143.5 kB / 0.5551 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1373, allocations: 25.77 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1374, allocations: 67.7 kB / 0.5552 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.1375, allocations: 47.72 kB / 0.5553 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1375, allocations: 8 kB / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1376, allocations: 55.91 kB / 0.5553 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.1376, allocations: 27.91 kB / 0.5554 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.1377, allocations: 47.62 kB / 0.5554 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.138, allocations: 155.3 kB / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.138, allocations: 0 / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.138, allocations: 0 / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.138, allocations: 0 / 0.5556 GB, free: 6.227 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007367/0.1388, allocations: 496.1 kB / 0.556 GB, free: 5.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1388, allocations: 12.03 kB / 0.556 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.1388, allocations: 34.75 kB / 0.5561 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.1389, allocations: 16.84 kB / 0.5561 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.1392, allocations: 229 kB / 0.5563 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1393, allocations: 8.375 kB / 0.5563 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1393, allocations: 7.938 kB / 0.5563 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1395, allocations: 112.2 kB / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1395, allocations: 0 / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1396, allocations: 4 kB / 0.5564 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1396, allocations: 0 / 0.5564 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1397, allocations: 55.89 kB / 0.5565 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.1403, allocations: 0.501 MB / 0.557 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.1407, allocations: 86.59 kB / 0.5571 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.1408, allocations: 36.78 kB / 0.5571 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1408, allocations: 8 kB / 0.5571 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.141, allocations: 83.3 kB / 0.5572 GB, free: 4.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.141, allocations: 0 / 0.5572 GB, free: 4.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004155/0.1414, allocations: 153.4 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1414, allocations: 51.41 kB / 0.5574 GB, free: 4.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1416, allocations: 206.2 kB / 0.5576 GB, free: 3.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.1417, allocations: 25.7 kB / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.1418, allocations: 120 kB / 0.5577 GB, free: 3.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1418, allocations: 27.8 kB / 0.5577 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.1418, allocations: 29.72 kB / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.142, allocations: 326.8 kB / 0.5581 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.1421, allocations: 31.98 kB / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1422, allocations: 68.41 kB / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.1424, allocations: 100.2 kB / 0.5583 GB, free: 3.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1424, allocations: 4 kB / 0.5583 GB, free: 3.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002923/0.1427, allocations: 133.4 kB / 0.5584 GB, free: 3.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1427, allocations: 11.94 kB / 0.5584 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1427, allocations: 0 / 0.5584 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1428, allocations: 3.938 kB / 0.5584 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1429, allocations: 23.98 kB / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1429, allocations: 480 / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.1429, allocations: 28 kB / 0.5585 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.143, allocations: 4 kB / 0.5585 GB, free: 2.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.000116/0.1431, allocations: 128 kB / 0.5586 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1431, allocations: 15.91 kB / 0.5586 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1431, allocations: 29.31 kB / 0.5586 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1431, allocations: 3.938 kB / 0.5586 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1432, allocations: 0 / 0.5586 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1432, allocations: 0 / 0.5586 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1434, allocations: 205.6 kB / 0.5588 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1434, allocations: 4 kB / 0.5588 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.1434, allocations: 15.98 kB / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1434, allocations: 0 / 0.5589 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1434, allocations: 4 kB / 0.5589 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1435, allocations: 3.938 kB / 0.5589 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1435, allocations: 3.938 kB / 0.5589 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.1438, allocations: 180.9 kB / 0.559 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.1439, allocations: 97.05 kB / 0.5591 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1439, allocations: 0 / 0.5591 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.144, allocations: 11.94 kB / 0.5591 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.144, allocations: 7.984 kB / 0.5592 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1441, allocations: 4 kB / 0.5592 GB, free: 2.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1442, allocations: 148.4 kB / 0.5593 GB, free: 2.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1442, allocations: 0 / 0.5593 GB, free: 2.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1444, allocations: 27.98 kB / 0.5593 GB, free: 1.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002084/0.1465, allocations: 1.026 MB / 0.5603 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1468, allocations: 75.89 kB / 0.5604 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1468, allocations: 4.25 kB / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1469, allocations: 32.11 kB / 0.5604 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1472, allocations: 51.16 kB / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1493, allocations: 1.758 MB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1496, allocations: 0.7201 MB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.1497, allocations: 21.41 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1498, allocations: 47.42 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1498, allocations: 0 / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.1764, allocations: 3.851 MB / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.485, allocations: 6.906 kB / 0.5667 GB, free: 10.47 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.548190331086516]