Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001224/0.001224, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001382/0.001382, allocations: 212.3 kB / 24.54 MB, free: 4.02 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2415/0.2415, allocations: 46.93 MB / 361.6 MB, free: 4.148 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-beta.om/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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 79.86 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3773, allocations: 66.08 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003315/0.3806, allocations: 1.629 MB / 0.5631 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3817, allocations: 0.58 MB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.3817, allocations: 0 / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.3823, allocations: 463.1 kB / 0.5641 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.3828, allocations: 291.3 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.3832, allocations: 167.1 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.3835, allocations: 179.6 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.3835, allocations: 8 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3837, allocations: 115.7 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.384, allocations: 255.5 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.384, allocations: 4 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.3841, allocations: 27.98 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3842, allocations: 88.66 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.3843, allocations: 102.9 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3846, allocations: 256.6 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3846, allocations: 0 / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3846, allocations: 0 / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3846, allocations: 0 / 0.5656 GB, free: 132 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007704/0.3853, allocations: 0.6011 MB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3854, allocations: 8.031 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3854, allocations: 34.75 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.3855, allocations: 40.66 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.3858, allocations: 246.8 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3858, allocations: 8.312 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.3858, allocations: 384 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3859, allocations: 62.23 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3859, allocations: 7.938 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.3859, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.386, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3861, allocations: 35.95 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.3866, allocations: 375.8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3867, allocations: 46.5 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.3868, allocations: 20.94 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3868, allocations: 3.984 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3868, allocations: 34.56 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3868, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003365/0.3872, allocations: 129.4 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.3872, allocations: 59.34 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/0.3881, allocations: 0.8699 MB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3881, allocations: 25.7 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3883, allocations: 220 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.3883, allocations: 7.906 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.3883, allocations: 17.7 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3885, allocations: 358.8 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/0.3886, allocations: 23.98 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.3886, allocations: 27.91 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3888, allocations: 41.05 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3888, allocations: 0 / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002004/0.389, allocations: 121.3 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.389, allocations: 4 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.389, allocations: 4 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.389, allocations: 4 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.3891, allocations: 7.984 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3891, allocations: 4 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.3891, allocations: 4 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3891, allocations: 0 / 0.5689 GB, free: 12.51 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 (3): * Single equations (assignments): 3 * 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.0001933/0.3893, allocations: 218.6 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.3894, allocations: 39.72 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.3896, allocations: 133.2 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3896, allocations: 0 / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3896, allocations: 3.938 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.3896, allocations: 3.938 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3899, allocations: 268.6 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3899, allocations: 0 / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.39, allocations: 8 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.39, allocations: 0 / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.39, allocations: 0 / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.39, allocations: 3.984 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.39, allocations: 4 kB / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3902, allocations: 215.1 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.3903, allocations: 39.72 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3903, allocations: 0 / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.3904, allocations: 7.984 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.3904, allocations: 0 / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3904, allocations: 8 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006472/0.3911, allocations: 0.6589 MB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3911, allocations: 0 / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.3913, allocations: 23.88 kB / 0.5705 GB, free: 10.81 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 (3): * Single equations (assignments): 3 * 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.001619/0.3929, allocations: 0.9823 MB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3931, allocations: 43.97 kB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3931, allocations: 0 / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.3932, allocations: 31.84 kB / 0.5715 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3935, allocations: 32.16 kB / 0.5715 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.3971, allocations: 3.221 MB / 0.5747 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3976, allocations: 0.8221 MB / 0.5755 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.3976, allocations: 23.73 kB / 0.5755 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3978, allocations: 111.4 kB / 0.5756 GB, free: 5.523 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3978, allocations: 0 / 0.5756 GB, free: 5.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08941/0.4872, allocations: 5.884 MB / 0.5813 GB, free: 15.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.969/9.456, allocations: 9.609 kB / 0.5814 GB, free: 15.62 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.52263883780688] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock1.y', 'clock2.y'] 9.596005742903799 9.613019741 9.225301646 Calling exit ...