Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.2168/0.2168, allocations: 44.91 MB / 349.6 MB, free: 1.812 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 67.97 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1488, allocations: 64.26 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004603/0.1534, allocations: 1.87 MB / 0.5448 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1557, allocations: 0.9275 MB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1558, allocations: 3.938 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.1565, allocations: 263.2 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.157, allocations: 195.3 kB / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.1592, allocations: 0.6375 MB / 0.5468 GB, free: 232 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.1597, allocations: 271.3 kB / 0.5471 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1599, allocations: 40.38 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1601, allocations: 131.5 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.1604, allocations: 203.3 kB / 0.5474 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1604, allocations: 8 kB / 0.5474 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1606, allocations: 47.97 kB / 0.5475 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1608, allocations: 103.5 kB / 0.5476 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.1609, allocations: 103.1 kB / 0.5477 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.1614, allocations: 286.6 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1614, allocations: 4 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1614, allocations: 3.938 kB / 0.548 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1614, allocations: 0 / 0.548 GB, free: 15.04 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.001078/0.1625, allocations: 0.6376 MB / 0.5486 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.1626, allocations: 8.031 kB / 0.5486 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.802e-05/0.1626, allocations: 38.75 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.1627, allocations: 40.66 kB / 0.5487 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1633, allocations: 326.6 kB / 0.549 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1633, allocations: 4.375 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1633, allocations: 12.38 kB / 0.549 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.1636, allocations: 89.59 kB / 0.5491 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1636, allocations: 7.922 kB / 0.5491 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1636, allocations: 4 kB / 0.5491 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1636, allocations: 0 / 0.5491 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1639, allocations: 67.95 kB / 0.5491 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009418/0.1648, allocations: 472.4 kB / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.165, allocations: 74.48 kB / 0.5497 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1651, allocations: 28.97 kB / 0.5497 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.1652, allocations: 11.92 kB / 0.5497 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1652, allocations: 34.56 kB / 0.5497 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1652, allocations: 0 / 0.5497 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005278/0.1657, allocations: 153.3 kB / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1658, allocations: 59.34 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.1667, allocations: 0.5487 MB / 0.5505 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1667, allocations: 25.7 kB / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.167, allocations: 204.1 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.167, allocations: 19.83 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1671, allocations: 21.72 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.1673, allocations: 350.8 kB / 0.5511 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1674, allocations: 23.98 kB / 0.5511 GB, free: 11.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.1675, allocations: 31.97 kB / 0.5511 GB, free: 11.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1677, allocations: 65.2 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1677, allocations: 0 / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003444/0.168, allocations: 137.3 kB / 0.5513 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1681, allocations: 6.188 kB / 0.5513 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1681, allocations: 0 / 0.5513 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1681, allocations: 7.922 kB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1682, allocations: 16 kB / 0.5513 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1682, allocations: 3.984 kB / 0.5514 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1683, allocations: 4 kB / 0.5514 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1683, allocations: 0 / 0.5514 GB, free: 11.32 MB / 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 (6): * Single equations (assignments): 6 * 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.000228/0.1686, allocations: 173.8 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1687, allocations: 35.77 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.1691, allocations: 148.9 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1691, allocations: 3.938 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1691, allocations: 4 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1691, allocations: 0 / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.1696, allocations: 293.5 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1696, allocations: 4 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.1697, allocations: 11.98 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1697, allocations: 0 / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1697, allocations: 0 / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.1697, allocations: 7.938 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1697, allocations: 3.938 kB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.1701, allocations: 227.4 kB / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.1702, allocations: 120.8 kB / 0.5523 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.1703, allocations: 0 / 0.5523 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1704, allocations: 7.938 kB / 0.5524 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1705, allocations: 11.94 kB / 0.5524 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1705, allocations: 0 / 0.5524 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006691/0.1711, allocations: 419.1 kB / 0.5528 GB, free: 9.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1711, allocations: 0 / 0.5528 GB, free: 9.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.1716, allocations: 43.88 kB / 0.5528 GB, free: 9.734 MB / 414.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 (6): * Single equations (assignments): 6 * 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.003871/0.1755, allocations: 1.248 MB / 0.554 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.1758, allocations: 63.95 kB / 0.5541 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1758, allocations: 4 kB / 0.5541 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.1759, allocations: 23.98 kB / 0.5541 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.1767, allocations: 84.98 kB / 0.5542 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.1816, allocations: 2.825 MB / 0.557 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.1822, allocations: 0.806 MB / 0.5577 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.1824, allocations: 53.47 kB / 0.5578 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1826, allocations: 103.3 kB / 0.5579 GB, free: 4.664 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1826, allocations: 0 / 0.5579 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.2191, allocations: 6.674 MB / 0.5644 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.597, allocations: 11.53 kB / 0.5644 GB, free: 13.99 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.751081713940948]