Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001817/0.001817, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002091/0.002091, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.491/1.491, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 46.93 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 0.4909 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.134, allocations: 65.99 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003036/0.1371, allocations: 1.664 MB / 0.557 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1389, allocations: 1.218 MB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.139, allocations: 0 / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1392, allocations: 31.78 kB / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.1395, allocations: 83.56 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.1399, allocations: 179.1 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1401, allocations: 79.81 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1402, allocations: 11.98 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.1402, allocations: 35.78 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1404, allocations: 39.84 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1404, allocations: 4 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1406, allocations: 103.9 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.1407, allocations: 23.91 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.1407, allocations: 31.8 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.141, allocations: 151.4 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.141, allocations: 4 kB / 0.559 GB, free: 2.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.141, allocations: 0 / 0.559 GB, free: 2.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.141, allocations: 0 / 0.559 GB, free: 2.176 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006147/0.1416, allocations: 430.6 kB / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1416, allocations: 8.031 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.1417, allocations: 34.75 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1417, allocations: 8.891 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.142, allocations: 204.2 kB / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.142, allocations: 4.359 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.142, allocations: 8.375 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1422, allocations: 75.33 kB / 0.5597 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1422, allocations: 0 / 0.5597 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1422, allocations: 7.984 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1423, allocations: 0 / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1424, allocations: 39.91 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.1429, allocations: 320.7 kB / 0.56 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.143, allocations: 46.55 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.1431, allocations: 24.94 kB / 0.5601 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1431, allocations: 3.938 kB / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1431, allocations: 34.56 kB / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1431, allocations: 4 kB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008307/0.144, allocations: 229.3 kB / 0.5604 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.144, allocations: 81.11 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1442, allocations: 154.9 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1442, allocations: 29.7 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.1443, allocations: 104 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.1443, allocations: 31.84 kB / 0.5608 GB, free: 112 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1444, allocations: 21.72 kB / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1445, allocations: 318.8 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1447, allocations: 39.97 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1448, allocations: 57.62 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1451, allocations: 84.78 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1451, allocations: 0 / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003202/0.1454, allocations: 125.6 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1454, allocations: 11.98 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1454, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1454, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1455, allocations: 23.98 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1455, allocations: 0 / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.1456, allocations: 11.92 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1456, allocations: 4 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001023/0.1457, allocations: 120 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1458, allocations: 11.91 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.1461, allocations: 142.6 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1461, allocations: 7.984 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1462, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1462, allocations: 3.938 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.1468, allocations: 414.6 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1468, allocations: 7.938 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1468, allocations: 19.98 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1468, allocations: 3.984 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1469, allocations: 3.938 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1469, allocations: 4 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1469, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1472, allocations: 219.4 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.1473, allocations: 89.06 kB / 0.5624 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1473, allocations: 7.922 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.1474, allocations: 7.938 kB / 0.5624 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1475, allocations: 16.27 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1475, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1476, allocations: 120.9 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1476, allocations: 0 / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1479, allocations: 43.86 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.002277/0.1502, allocations: 1.155 MB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1505, allocations: 91.86 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1505, allocations: 0 / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1506, allocations: 43.95 kB / 0.5639 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.151, allocations: 26.38 kB / 0.5639 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1532, allocations: 1.647 MB / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1535, allocations: 0.7078 MB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.83e-05/0.1536, allocations: 24.72 kB / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1537, allocations: 31.42 kB / 0.5663 GB, free: 10.4 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1537, allocations: 0 / 0.5663 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1809, allocations: 3.623 MB / 0.5698 GB, free: 6.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.099, allocations: 15.23 kB / 0.5698 GB, free: 6.766 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.301140652998583]