Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001318/0.001318, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001559/0.001559, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.228/0.228, allocations: 44.9 MB / 355.1 MB, free: 12.43 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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.001973/0.001973, allocations: 62.09 kB / 499.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1328, allocations: 65.42 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003368/0.1362, allocations: 1.735 MB / 0.5535 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.138, allocations: 1.032 MB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.1381, allocations: 3.938 kB / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1384, allocations: 51.7 kB / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.1387, allocations: 95.59 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.1389, allocations: 79.67 kB / 0.5548 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1391, allocations: 99.73 kB / 0.5549 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1392, allocations: 12.28 kB / 0.5549 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.1393, allocations: 55.66 kB / 0.5549 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.1394, allocations: 27.84 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1394, allocations: 4 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1395, allocations: 43.98 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1395, allocations: 19.92 kB / 0.555 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1396, allocations: 47.72 kB / 0.5551 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1398, allocations: 123.4 kB / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1398, allocations: 0 / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1398, allocations: 0 / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1399, allocations: 0 / 0.5552 GB, free: 6.652 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.000625/0.1405, allocations: 426.6 kB / 0.5556 GB, free: 6.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1405, allocations: 8.031 kB / 0.5556 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.1406, allocations: 42.75 kB / 0.5556 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.1406, allocations: 8.891 kB / 0.5556 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1409, allocations: 220.1 kB / 0.5558 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.141, allocations: 8.359 kB / 0.5559 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.141, allocations: 7.938 kB / 0.5559 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1412, allocations: 53.61 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1412, allocations: 0 / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1412, allocations: 8 kB / 0.5559 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1412, allocations: 3.938 kB / 0.5559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.1413, allocations: 15.98 kB / 0.5559 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.1417, allocations: 300.8 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1419, allocations: 58.55 kB / 0.5563 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1419, allocations: 20.91 kB / 0.5563 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.142, allocations: 4 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1421, allocations: 67.39 kB / 0.5564 GB, free: 5.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1421, allocations: 0 / 0.5564 GB, free: 5.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005816/0.1427, allocations: 177.3 kB / 0.5565 GB, free: 5.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1428, allocations: 51.41 kB / 0.5566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.143, allocations: 214 kB / 0.5568 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.143, allocations: 33.7 kB / 0.5568 GB, free: 4.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.1431, allocations: 100.1 kB / 0.5569 GB, free: 4.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.1431, allocations: 23.8 kB / 0.5569 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.1432, allocations: 29.7 kB / 0.557 GB, free: 4.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1434, allocations: 326.8 kB / 0.5573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1434, allocations: 16 kB / 0.5573 GB, free: 4.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.1435, allocations: 41.64 kB / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1436, allocations: 53.7 kB / 0.5574 GB, free: 4.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1436, allocations: 0 / 0.5574 GB, free: 4.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.1438, allocations: 113.5 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1438, allocations: 7.984 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1439, allocations: 0 / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1439, allocations: 4 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.144, allocations: 12.38 kB / 0.5575 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.144, allocations: 0 / 0.5575 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.144, allocations: 7.938 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.144, allocations: 7.984 kB / 0.5575 GB, free: 3.984 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.0001233/0.1442, allocations: 136 kB / 0.5577 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1442, allocations: 15.84 kB / 0.5577 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1442, allocations: 21.39 kB / 0.5577 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1442, allocations: 0 / 0.5577 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1442, allocations: 0 / 0.5577 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1443, allocations: 3.938 kB / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1448, allocations: 399.5 kB / 0.5581 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1448, allocations: 0 / 0.5581 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.1448, allocations: 12.22 kB / 0.5581 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.1448, allocations: 7.938 kB / 0.5581 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1448, allocations: 7.938 kB / 0.5581 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1448, allocations: 0 / 0.5581 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1448, allocations: 0 / 0.5581 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.1451, allocations: 204.2 kB / 0.5583 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.1452, allocations: 85.05 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1452, allocations: 15.94 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1453, allocations: 0 / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1453, allocations: 7.984 kB / 0.5584 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1453, allocations: 4 kB / 0.5584 GB, free: 2.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1455, allocations: 164.3 kB / 0.5586 GB, free: 2.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1455, allocations: 0 / 0.5586 GB, free: 2.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1458, allocations: 23.94 kB / 0.5586 GB, free: 2.789 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.002264/0.148, allocations: 1.096 MB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1482, allocations: 51.98 kB / 0.5597 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1482, allocations: 0 / 0.5597 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.1483, allocations: 31.92 kB / 0.5597 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1487, allocations: 26.78 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.1507, allocations: 1.705 MB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1511, allocations: 0.7079 MB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1512, allocations: 20.48 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.1512, allocations: 39.42 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1512, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.1779, allocations: 3.524 MB / 0.5656 GB, free: 11.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.187, allocations: 8 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.46074532577768]