Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001929/0.001929, allocations: 123.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.002213/0.002213, allocations: 200.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.581/1.581, 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.238/0.238, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.91 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1361, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003124/0.1392, allocations: 1.615 MB / 0.557 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1403, allocations: 0.5572 MB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.1404, allocations: 0 / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1406, allocations: 39.77 kB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.141, allocations: 75.69 kB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1413, allocations: 111.7 kB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1415, allocations: 71.77 kB / 0.5578 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1416, allocations: 12 kB / 0.5578 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.1417, allocations: 31.84 kB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.1418, allocations: 31.84 kB / 0.5579 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1418, allocations: 7.938 kB / 0.5579 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.142, allocations: 99.94 kB / 0.558 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.142, allocations: 11.98 kB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1421, allocations: 35.73 kB / 0.558 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1424, allocations: 143.5 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1424, allocations: 0 / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1424, allocations: 0 / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1424, allocations: 0 / 0.5581 GB, free: 3.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005941/0.143, allocations: 410.8 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.143, allocations: 8.031 kB / 0.5585 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.1431, allocations: 38.75 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1431, allocations: 8.891 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1433, allocations: 197.9 kB / 0.5588 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1434, allocations: 384 / 0.5588 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1434, allocations: 8.375 kB / 0.5588 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1436, allocations: 63.33 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1436, allocations: 3.938 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1436, allocations: 0 / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1436, allocations: 0 / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1437, allocations: 39.91 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.1442, allocations: 288.8 kB / 0.5592 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1443, allocations: 54.53 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.1444, allocations: 24.94 kB / 0.5592 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1444, allocations: 4 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1444, allocations: 34.5 kB / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1444, allocations: 0 / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000732/0.1452, allocations: 185.4 kB / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.1452, allocations: 85.05 kB / 0.5595 GB, free: 1.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1454, allocations: 155.7 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1454, allocations: 25.7 kB / 0.5597 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.1455, allocations: 96.12 kB / 0.5598 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1455, allocations: 23.8 kB / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1456, allocations: 25.7 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1457, allocations: 318.8 kB / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.1458, allocations: 27.97 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1459, allocations: 49.69 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1461, allocations: 68.81 kB / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1461, allocations: 0 / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002439/0.1463, allocations: 113.5 kB / 0.5604 GB, free: 472 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1464, allocations: 4 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1464, allocations: 0 / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1464, allocations: 0 / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1465, allocations: 28.02 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1465, allocations: 0 / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.1465, allocations: 7.938 kB / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.1466, allocations: 3.984 kB / 0.5604 GB, free: 428 kB / 414.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 (8): * Single equations (assignments): 8 * 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.000104/0.1467, allocations: 117.8 kB / 0.5606 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1467, allocations: 7.953 kB / 0.5606 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.147, allocations: 114.3 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.147, allocations: 0 / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.147, allocations: 4 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.147, allocations: 7.938 kB / 0.5607 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.1476, allocations: 398.4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1476, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.1477, allocations: 15.98 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1477, allocations: 7.875 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1477, allocations: 4 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1477, allocations: 0 / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1477, allocations: 4.406 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.148, allocations: 199.4 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.148, allocations: 93.05 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.148, allocations: 3.938 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.1481, allocations: 8 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1482, allocations: 3.984 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1482, allocations: 4 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1483, allocations: 111.3 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1483, allocations: 0 / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1486, allocations: 43.86 kB / 0.5615 GB, free: 15.18 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.002348/0.151, allocations: 1.132 MB / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1512, allocations: 71.88 kB / 0.5627 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1512, allocations: 0 / 0.5627 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.1513, allocations: 32.12 kB / 0.5627 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1517, allocations: 27.56 kB / 0.5628 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1537, allocations: 1.533 MB / 0.5643 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.154, allocations: 0.6963 MB / 0.565 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.363e-05/0.1541, allocations: 24.58 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.1542, allocations: 35.36 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1542, allocations: 0 / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.1783, allocations: 3.523 MB / 0.5684 GB, free: 8.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.296, allocations: 11 kB / 0.5685 GB, free: 8.18 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.730928210003185]