Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001264/0.001264, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001754/0.001754, allocations: 209.6 kB / 20.75 MB, free: 2.293 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.476/1.476, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2145/0.2145, 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001971/0.001971, allocations: 75.89 kB / 499.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 65.42 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003595/0.1336, allocations: 1.947 MB / 0.5537 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1355, allocations: 1.068 MB / 0.5548 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.1356, allocations: 0 / 0.5548 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.1359, allocations: 51.64 kB / 0.5548 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1362, allocations: 95.53 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1364, allocations: 95.66 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1367, allocations: 151.5 kB / 0.5551 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1368, allocations: 25.77 kB / 0.5552 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1369, allocations: 55.72 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.137, allocations: 59.69 kB / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.137, allocations: 4 kB / 0.5553 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.1371, allocations: 47.98 kB / 0.5553 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1372, allocations: 31.91 kB / 0.5554 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.1373, allocations: 55.56 kB / 0.5554 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.1375, allocations: 147.3 kB / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1375, allocations: 0 / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1375, allocations: 0 / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1375, allocations: 0 / 0.5555 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.0007072/0.1382, allocations: 0.4922 MB / 0.556 GB, free: 5.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1383, allocations: 8.031 kB / 0.556 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1383, allocations: 38.75 kB / 0.5561 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1383, allocations: 24.78 kB / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1387, allocations: 221 kB / 0.5563 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1387, allocations: 4.375 kB / 0.5563 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1387, allocations: 11.94 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.139, allocations: 108.2 kB / 0.5564 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.139, allocations: 4 kB / 0.5564 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.139, allocations: 4 kB / 0.5564 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.139, allocations: 0 / 0.5564 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1392, allocations: 47.95 kB / 0.5565 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.1398, allocations: 0.5126 MB / 0.557 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.1401, allocations: 86.59 kB / 0.5571 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.1402, allocations: 36.78 kB / 0.5571 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1403, allocations: 0 / 0.5571 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.1405, allocations: 91.38 kB / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1405, allocations: 0 / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004213/0.1409, allocations: 141.4 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.141, allocations: 51.41 kB / 0.5574 GB, free: 4.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.1412, allocations: 202.2 kB / 0.5576 GB, free: 3.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1412, allocations: 33.7 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.1413, allocations: 112 kB / 0.5577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1413, allocations: 39.8 kB / 0.5577 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1414, allocations: 25.72 kB / 0.5578 GB, free: 3.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1415, allocations: 326.8 kB / 0.5581 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.1416, allocations: 31.92 kB / 0.5581 GB, free: 3.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1417, allocations: 68.39 kB / 0.5582 GB, free: 3.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.142, allocations: 104.5 kB / 0.5583 GB, free: 3.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.142, allocations: 0 / 0.5583 GB, free: 3.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002924/0.1423, allocations: 141.5 kB / 0.5584 GB, free: 3.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1423, allocations: 8 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1423, allocations: 0 / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1423, allocations: 7.938 kB / 0.5584 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1424, allocations: 23.92 kB / 0.5584 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1424, allocations: 4 kB / 0.5584 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.1425, allocations: 15.88 kB / 0.5585 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1425, allocations: 4 kB / 0.5585 GB, free: 2.945 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.0001173/0.1426, allocations: 128.1 kB / 0.5586 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1426, allocations: 19.89 kB / 0.5586 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.1427, allocations: 21.39 kB / 0.5586 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1427, allocations: 3.938 kB / 0.5586 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1427, allocations: 4 kB / 0.5586 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1427, allocations: 3.938 kB / 0.5586 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1429, allocations: 205.6 kB / 0.5588 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1429, allocations: 0 / 0.5588 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.143, allocations: 11.98 kB / 0.5588 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.143, allocations: 4 kB / 0.5589 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.143, allocations: 0 / 0.5589 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.143, allocations: 7.938 kB / 0.5589 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.143, allocations: 3.938 kB / 0.5589 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1434, allocations: 184.9 kB / 0.559 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.1435, allocations: 96.98 kB / 0.5591 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1435, allocations: 4 kB / 0.5591 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.1436, allocations: 8 kB / 0.5591 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1436, allocations: 7.984 kB / 0.5592 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1436, allocations: 8 kB / 0.5592 GB, free: 2.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1438, allocations: 144.4 kB / 0.5593 GB, free: 2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1438, allocations: 0 / 0.5593 GB, free: 2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.144, allocations: 23.98 kB / 0.5593 GB, free: 1.977 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.002083/0.1461, allocations: 1.029 MB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1464, allocations: 79.89 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1464, allocations: 0 / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1465, allocations: 35.92 kB / 0.5604 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1468, allocations: 47.28 kB / 0.5605 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.149, allocations: 1.75 MB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1494, allocations: 0.7201 MB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.1494, allocations: 29.41 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.1495, allocations: 43.36 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1495, allocations: 0 / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.181, allocations: 3.854 MB / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.235, allocations: 0 / 0.5667 GB, free: 10.47 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.371894938871264]