Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001565/0.001565, allocations: 109 kB / 21.1 MB, free: 0.7695 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.002427/0.002427, allocations: 205.7 kB / 24.38 MB, free: 4.188 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.553/1.553, 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.2563/0.2563, allocations: 46.89 MB / 361 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 84.03 kB / 0.4962 GB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4927, allocations: 66.03 MB / 0.5607 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004174/0.4969, allocations: 1.896 MB / 0.5625 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.4983, allocations: 0.7174 MB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.4984, allocations: 0 / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.499, allocations: 179.4 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.4994, allocations: 179.4 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.5001, allocations: 325.9 kB / 0.5639 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.5005, allocations: 247.3 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.5006, allocations: 43.55 kB / 0.5641 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.5008, allocations: 99.66 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.5011, allocations: 155.5 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.5012, allocations: 15.94 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.5013, allocations: 43.98 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.5014, allocations: 111.6 kB / 0.5646 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.5016, allocations: 123 kB / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.502, allocations: 314.5 kB / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.502, allocations: 0 / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.502, allocations: 0 / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.502, allocations: 0 / 0.565 GB, free: 240 kB / 398.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.001102/0.5031, allocations: 0.6882 MB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5032, allocations: 12.03 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.5032, allocations: 42.73 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.5033, allocations: 40.7 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.5039, allocations: 382.4 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5039, allocations: 4.375 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.5039, allocations: 12.38 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.5044, allocations: 171.7 kB / 0.5663 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.5044, allocations: 7.922 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.5044, allocations: 11.94 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5044, allocations: 4 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.5049, allocations: 147.8 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.506, allocations: 0.6527 MB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.5065, allocations: 145.1 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.5067, allocations: 81.78 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.5067, allocations: 7.984 kB / 0.5673 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5068, allocations: 30.56 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5068, allocations: 0 / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002661/0.5094, allocations: 0.8118 MB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.5095, allocations: 81.11 kB / 0.5682 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.5103, allocations: 0.5956 MB / 0.5688 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.5103, allocations: 29.7 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.5105, allocations: 204.4 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.5105, allocations: 59.48 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.5106, allocations: 33.72 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.5108, allocations: 358.8 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.5113, allocations: 127.9 kB / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.5117, allocations: 164 kB / 0.5697 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/0.5126, allocations: 297.6 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5126, allocations: 0 / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009927/0.5136, allocations: 376.9 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.5136, allocations: 8 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.5136, allocations: 0 / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-05/0.5137, allocations: 0 / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.5141, allocations: 75.86 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5141, allocations: 4 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.5143, allocations: 35.89 kB / 0.5705 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.5143, allocations: 8 kB / 0.5705 GB, free: 10.29 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.0002226/0.5146, allocations: 185.8 kB / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.5147, allocations: 39.7 kB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.5158, allocations: 428.7 kB / 0.5711 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5158, allocations: 4 kB / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5158, allocations: 0 / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5158, allocations: 0 / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.5177, allocations: 0.9192 MB / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5177, allocations: 0 / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.5179, allocations: 63.92 kB / 0.5721 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5179, allocations: 4 kB / 0.5721 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.518, allocations: 8 kB / 0.5721 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.518, allocations: 0.75 kB / 0.5721 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.518, allocations: 4 kB / 0.5721 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.5192, allocations: 0.5333 MB / 0.5726 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.5193, allocations: 132.8 kB / 0.5727 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.5193, allocations: 4 kB / 0.5727 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.5196, allocations: 39.95 kB / 0.5728 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.5197, allocations: 23.97 kB / 0.5728 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.5197, allocations: 11.92 kB / 0.5728 GB, free: 7.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005832/0.5203, allocations: 451.1 kB / 0.5732 GB, free: 7.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5203, allocations: 3.938 kB / 0.5732 GB, free: 7.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.5207, allocations: 51.94 kB / 0.5733 GB, free: 7.316 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.003313/0.524, allocations: 1.361 MB / 0.5746 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.5251, allocations: 303.6 kB / 0.5749 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.67e-05/0.5251, allocations: 0 / 0.5749 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.5257, allocations: 159.8 kB / 0.5751 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.5264, allocations: 52.42 kB / 0.5751 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.5338, allocations: 4.329 MB / 0.5793 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.5343, allocations: 0.8143 MB / 0.5801 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.5345, allocations: 78.53 kB / 0.5802 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.5347, allocations: 123.4 kB / 0.5803 GB, free: 108 kB / 414.1 MB Notification: Performance of SimCode: time 2.124e-06/0.5348, allocations: 0 / 0.5803 GB, free: 108 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.5717, allocations: 8.041 MB / 0.5882 GB, free: 8.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.992, allocations: 0 / 0.5882 GB, free: 8.082 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.21677930583246] Failed to read output from testmodel.py, exit status != 0: 9.12486190511845 9.150961571 8.643941407 Calling exit ...