Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.001313/0.001313, allocations: 113 kB / 18.49 MB, free: 4.539 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.001387/0.001387, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.535/1.535, allocations: 230.6 MB / 254.8 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.235/0.235, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 0.4916 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1327, allocations: 66 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.005102/0.1379, allocations: 2.019 MB / 0.558 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1401, allocations: 0.8105 MB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1402, allocations: 4 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.1409, allocations: 179.4 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.1414, allocations: 211.1 kB / 0.5592 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009194/0.1424, allocations: 417.9 kB / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.1428, allocations: 303.1 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1429, allocations: 52.7 kB / 0.56 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1431, allocations: 127.5 kB / 0.5601 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1433, allocations: 175.3 kB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.1434, allocations: 15.98 kB / 0.5603 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1435, allocations: 43.98 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.1437, allocations: 175.5 kB / 0.5605 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.1439, allocations: 198.4 kB / 0.5607 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.1445, allocations: 437.8 kB / 0.5611 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1445, allocations: 7.938 kB / 0.5611 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1445, allocations: 0 / 0.5611 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.1445, allocations: 0 / 0.5611 GB, free: 0.6953 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001602/0.1461, allocations: 0.8937 MB / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.1462, allocations: 8.031 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.1462, allocations: 8.188 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.1463, allocations: 42.75 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1464, allocations: 64.52 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.1471, allocations: 0.5243 MB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1472, allocations: 8.375 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.1472, allocations: 16.08 kB / 0.5626 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.1477, allocations: 155.3 kB / 0.5628 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1477, allocations: 4 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1477, allocations: 4 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-06/0.1477, allocations: 3.938 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.1483, allocations: 127.9 kB / 0.5629 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1495, allocations: 0.7426 MB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.1499, allocations: 145.2 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.1502, allocations: 77.72 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1502, allocations: 4 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1502, allocations: 30.56 kB / 0.5639 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.1502, allocations: 4 kB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002922/0.1532, allocations: 0.8268 MB / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.1532, allocations: 81.11 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.1547, allocations: 1.074 MB / 0.5658 GB, free: 11.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1547, allocations: 29.7 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.155, allocations: 296.3 kB / 0.5661 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.155, allocations: 59.52 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.1551, allocations: 33.72 kB / 0.5662 GB, free: 11.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1553, allocations: 318 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.1558, allocations: 115.9 kB / 0.5666 GB, free: 10.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.1563, allocations: 135.5 kB / 0.5667 GB, free: 10.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.1572, allocations: 261.4 kB / 0.567 GB, free: 10.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1572, allocations: 4 kB / 0.567 GB, free: 10.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001191/0.1584, allocations: 353 kB / 0.5673 GB, free: 10.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1584, allocations: 4 kB / 0.5673 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1584, allocations: 0 / 0.5673 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.1585, allocations: 8 kB / 0.5673 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.1588, allocations: 67.92 kB / 0.5674 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1589, allocations: 3.938 kB / 0.5674 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.1592, allocations: 39.89 kB / 0.5674 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1592, allocations: 8 kB / 0.5675 GB, free: 9.883 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0003321/0.1595, allocations: 229.7 kB / 0.5677 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1596, allocations: 67.53 kB / 0.5677 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.1609, allocations: 402.8 kB / 0.5681 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1609, allocations: 11.92 kB / 0.5681 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1609, allocations: 0 / 0.5681 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1609, allocations: 0 / 0.5681 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.1627, allocations: 0.9502 MB / 0.5691 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1627, allocations: 0 / 0.5691 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.163, allocations: 76.61 kB / 0.5691 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.163, allocations: 4 kB / 0.5691 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.163, allocations: 0 / 0.5691 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.163, allocations: 288 / 0.5691 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.163, allocations: 7.938 kB / 0.5691 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.1643, allocations: 0.5273 MB / 0.5697 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1644, allocations: 172.6 kB / 0.5698 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.1645, allocations: 4 kB / 0.5698 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.1648, allocations: 35.95 kB / 0.5699 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.1649, allocations: 23.91 kB / 0.5699 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1649, allocations: 4 kB / 0.5699 GB, free: 7.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009583/0.1659, allocations: 0.7919 MB / 0.5707 GB, free: 6.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1659, allocations: 0 / 0.5707 GB, free: 6.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.1663, allocations: 71.94 kB / 0.5707 GB, free: 6.422 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.003033/0.1693, allocations: 1.363 MB / 0.5721 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1704, allocations: 274 kB / 0.5723 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1704, allocations: 0 / 0.5723 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.1709, allocations: 139.8 kB / 0.5725 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.1716, allocations: 89.94 kB / 0.5725 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009294/0.1809, allocations: 6.07 MB / 0.5785 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.1814, allocations: 0.8816 MB / 0.5793 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.1816, allocations: 91.61 kB / 0.5794 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.1819, allocations: 191.4 kB / 0.5796 GB, free: 13.35 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1819, allocations: 0 / 0.5796 GB, free: 13.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.213, allocations: 11.62 MB / 0.591 GB, free: 1.816 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.373/9.586, allocations: 8.047 kB / 0.591 GB, free: 1.809 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.992471179983113] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.774729318043683 10.01823318 9.871073219 Calling exit ...