Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001822/0.001822, allocations: 109 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002568/0.002568, allocations: 212.9 kB / 24.39 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.2 MB / 257.7 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.88 MB / 361 MB, free: 4.469 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 75.88 kB / 0.4962 GB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4481, allocations: 66.03 MB / 0.5607 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004831/0.4529, allocations: 2.029 MB / 0.5626 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.4548, allocations: 0.8187 MB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.4549, allocations: 0 / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.4555, allocations: 179.4 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.456, allocations: 211.2 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.457, allocations: 429.1 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.4574, allocations: 299.2 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.4576, allocations: 46.67 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.4578, allocations: 135.5 kB / 0.5647 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.4581, allocations: 183.2 kB / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.4581, allocations: 16 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.4582, allocations: 40 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.4584, allocations: 171.5 kB / 0.5651 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.4586, allocations: 190.5 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.4592, allocations: 449.7 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4592, allocations: 0 / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4592, allocations: 0 / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.4592, allocations: 4 kB / 0.5657 GB, free: 15.49 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.001437/0.4606, allocations: 0.882 MB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4607, allocations: 11.97 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.4608, allocations: 46.73 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.4609, allocations: 68.45 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.4616, allocations: 0.5282 MB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4616, allocations: 4.375 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.4616, allocations: 24.31 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.4621, allocations: 151.7 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4621, allocations: 3.938 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4621, allocations: 4 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4621, allocations: 4 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.4626, allocations: 135.8 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.4637, allocations: 0.7464 MB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.4641, allocations: 137.1 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.4643, allocations: 73.78 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.4644, allocations: 8 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4644, allocations: 30.56 kB / 0.5685 GB, free: 12.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4644, allocations: 224 / 0.5685 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002675/0.4671, allocations: 0.8346 MB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.4672, allocations: 89.03 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.4686, allocations: 1.071 MB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.4686, allocations: 33.7 kB / 0.5705 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.4689, allocations: 292.3 kB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.469, allocations: 63.48 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.4691, allocations: 33.7 kB / 0.5708 GB, free: 9.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4692, allocations: 314 kB / 0.5711 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.4696, allocations: 115.9 kB / 0.5712 GB, free: 9.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.4701, allocations: 137.6 kB / 0.5714 GB, free: 9.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.4709, allocations: 257.4 kB / 0.5716 GB, free: 9.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4709, allocations: 0 / 0.5716 GB, free: 9.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009901/0.4719, allocations: 369 kB / 0.572 GB, free: 8.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4719, allocations: 10.34 kB / 0.572 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4719, allocations: 0 / 0.572 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.472, allocations: 0 / 0.572 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.4723, allocations: 63.94 kB / 0.572 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4723, allocations: 0 / 0.572 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.4725, allocations: 51.88 kB / 0.5721 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4725, allocations: 4 kB / 0.5721 GB, free: 8.656 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: 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.000279/0.4728, allocations: 225.8 kB / 0.5723 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4729, allocations: 71.47 kB / 0.5724 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.474, allocations: 394.8 kB / 0.5727 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4741, allocations: 3.984 kB / 0.5727 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4741, allocations: 0 / 0.5727 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4741, allocations: 8 kB / 0.5728 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.4759, allocations: 0.958 MB / 0.5737 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4759, allocations: 0.75 kB / 0.5737 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.4761, allocations: 67.88 kB / 0.5738 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4761, allocations: 0 / 0.5738 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4762, allocations: 7.938 kB / 0.5738 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4762, allocations: 0 / 0.5738 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4762, allocations: 11.98 kB / 0.5738 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4773, allocations: 0.5215 MB / 0.5743 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.4775, allocations: 168.6 kB / 0.5744 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.4775, allocations: 4 kB / 0.5744 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.4778, allocations: 40.22 kB / 0.5745 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.4779, allocations: 19.97 kB / 0.5745 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4779, allocations: 11.94 kB / 0.5745 GB, free: 6.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009777/0.4789, allocations: 0.7957 MB / 0.5753 GB, free: 5.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4789, allocations: 0 / 0.5753 GB, free: 5.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.4792, allocations: 63.94 kB / 0.5754 GB, free: 5.199 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: 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.002862/0.4821, allocations: 1.35 MB / 0.5767 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009537/0.4831, allocations: 263.7 kB / 0.5769 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4831, allocations: 0 / 0.5769 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.4835, allocations: 139.8 kB / 0.5771 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.4842, allocations: 108.7 kB / 0.5772 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/0.4935, allocations: 6.066 MB / 0.5831 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.4941, allocations: 0.8897 MB / 0.584 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.4944, allocations: 95.59 kB / 0.584 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.4947, allocations: 187.4 kB / 0.5842 GB, free: 12.11 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4947, allocations: 3.938 kB / 0.5842 GB, free: 12.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.5356, allocations: 11.63 MB / 0.5956 GB, free: 496 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.091/9.627, allocations: 7.922 kB / 0.5956 GB, free: 488 kB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.72771645290777] Failed to read output from testmodel.py, exit status != 0: 9.76066239317879 9.786444123 9.322307295 Calling exit ...