Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001851/0.001851, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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: 213.2 kB / 24.54 MB, free: 4.016 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2374/0.2374, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",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.00343/0.00343, allocations: 87.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3763, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00345/0.3798, allocations: 1.625 MB / 0.5631 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.381, allocations: 0.545 MB / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.381, allocations: 3.938 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.3817, allocations: 455.1 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.3823, allocations: 295.3 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.3827, allocations: 123.1 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3829, allocations: 167.6 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.383, allocations: 8.188 kB / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3831, allocations: 111.7 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3834, allocations: 247.5 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3835, allocations: 0 / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.3835, allocations: 20 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3836, allocations: 84.67 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.3837, allocations: 99 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.3841, allocations: 268.5 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3841, allocations: 4 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3841, allocations: 0 / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3841, allocations: 3.938 kB / 0.5654 GB, free: 248 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.0008607/0.385, allocations: 0.5699 MB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.385, allocations: 12.03 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.385, allocations: 34.73 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.3851, allocations: 44.61 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3854, allocations: 246.8 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3854, allocations: 4.375 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3854, allocations: 8.375 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3856, allocations: 53.94 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3856, allocations: 0 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3856, allocations: 4 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3856, allocations: 0 / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/0.3857, allocations: 19.98 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.3863, allocations: 347.9 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3864, allocations: 42.5 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.3864, allocations: 8.922 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3864, allocations: 0 / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3865, allocations: 34.56 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3865, allocations: 4 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002944/0.3868, allocations: 101.5 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3868, allocations: 51.41 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.3877, allocations: 0.8737 MB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3878, allocations: 25.7 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3879, allocations: 232 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.388, allocations: 3.953 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.388, allocations: 13.72 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3882, allocations: 362.7 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.3882, allocations: 19.95 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.3883, allocations: 4 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.3884, allocations: 24.84 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3884, allocations: 0 / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001562/0.3885, allocations: 97.33 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3885, allocations: 6.188 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3885, allocations: 96 / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3885, allocations: 4 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.3886, allocations: 11.94 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3886, allocations: 0 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.3887, allocations: 7.922 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3887, allocations: 4 kB / 0.5686 GB, free: 12.8 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 (2): * Single equations (assignments): 2 * 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.0002107/0.3889, allocations: 210.6 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.389, allocations: 43.72 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.3892, allocations: 112.8 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3892, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3892, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3892, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.3895, allocations: 260.6 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3895, allocations: 0 / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.3895, allocations: 4 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3895, allocations: 3.938 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3895, allocations: 0 / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3895, allocations: 0 / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3895, allocations: 3.984 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3898, allocations: 199.2 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3899, allocations: 39.66 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3899, allocations: 4 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.39, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.39, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.39, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007671/0.3908, allocations: 0.6668 MB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3908, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.391, allocations: 16 kB / 0.5701 GB, free: 11.18 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 (2): * Single equations (assignments): 2 * 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.001747/0.3928, allocations: 0.9634 MB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3929, allocations: 27.97 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3929, allocations: 0 / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.393, allocations: 12.06 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3934, allocations: 28.14 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.3976, allocations: 3.167 MB / 0.5742 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.3982, allocations: 0.8143 MB / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.3983, allocations: 11.75 kB / 0.575 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3984, allocations: 111.4 kB / 0.5751 GB, free: 6.023 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3984, allocations: 0 / 0.5751 GB, free: 6.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.431, allocations: 5.803 MB / 0.5808 GB, free: 220 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/9.092, allocations: 5.484 kB / 0.5808 GB, free: 216 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.05064561823383] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'const.y', 'clock.y'] 9.2378802690655 9.257964226 8.870359706 Calling exit ...