Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001305/0.001305, allocations: 108.5 kB / 19.8 MB, free: 2.516 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.001514/0.001514, allocations: 216.7 kB / 23 MB, free: 5.609 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.543/1.543, allocations: 230.2 MB / 256.2 MB, free: 8.73 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.2856/0.2856, allocations: 46.89 MB / 359.4 MB, free: 4.941 MB / 286.1 MB " [Timeout remaining time 179] 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.003266/0.003266, allocations: 87.86 kB / 0.4942 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3472, allocations: 65.98 MB / 0.5586 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00338/0.3506, allocations: 1.71 MB / 0.5603 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3517, allocations: 0.5809 MB / 0.5608 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3518, allocations: 0 / 0.5608 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.352, allocations: 19.8 kB / 0.5609 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3523, allocations: 87.61 kB / 0.5609 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3526, allocations: 139.2 kB / 0.5611 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3528, allocations: 91.7 kB / 0.5612 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3529, allocations: 21.81 kB / 0.5612 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.353, allocations: 35.84 kB / 0.5612 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.3531, allocations: 47.77 kB / 0.5613 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3531, allocations: 8 kB / 0.5613 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3533, allocations: 99.88 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.3534, allocations: 31.91 kB / 0.5614 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.3534, allocations: 35.8 kB / 0.5614 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3537, allocations: 175.2 kB / 0.5616 GB, free: 2.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3537, allocations: 3.938 kB / 0.5616 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3537, allocations: 4 kB / 0.5616 GB, free: 2.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3537, allocations: 0 / 0.5616 GB, free: 2.055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007624/0.3545, allocations: 442.6 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3546, allocations: 20.02 kB / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.3546, allocations: 34.75 kB / 0.5621 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.3546, allocations: 8.891 kB / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3549, allocations: 196.2 kB / 0.5623 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3549, allocations: 8.359 kB / 0.5623 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3549, allocations: 4.375 kB / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.3552, allocations: 91.86 kB / 0.5624 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3552, allocations: 11.94 kB / 0.5624 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3552, allocations: 0 / 0.5624 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3552, allocations: 0 / 0.5624 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.3555, allocations: 67.91 kB / 0.5625 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3561, allocations: 312.7 kB / 0.5627 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3563, allocations: 78.53 kB / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3565, allocations: 44.88 kB / 0.5629 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3565, allocations: 0 / 0.5629 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3565, allocations: 42.56 kB / 0.5629 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3565, allocations: 0 / 0.5629 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001623/0.3582, allocations: 380.9 kB / 0.5633 GB, free: 164 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3582, allocations: 77.11 kB / 0.5633 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3584, allocations: 169.5 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3584, allocations: 29.7 kB / 0.5635 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.3585, allocations: 96.14 kB / 0.5636 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3585, allocations: 35.77 kB / 0.5637 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3586, allocations: 25.72 kB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3587, allocations: 322.8 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.359, allocations: 71.92 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.3593, allocations: 85.62 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.3599, allocations: 156.9 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3599, allocations: 0 / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006658/0.3606, allocations: 193.4 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3606, allocations: 4 kB / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3606, allocations: 0 / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3606, allocations: 0 / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.3609, allocations: 43.95 kB / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3609, allocations: 0 / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.361, allocations: 23.95 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.361, allocations: 11.94 kB / 0.5646 GB, free: 14.77 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 (10): * Single equations (assignments): 10 * 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.00012/0.3612, allocations: 117.8 kB / 0.5647 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.3612, allocations: 15.91 kB / 0.5647 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.3619, allocations: 202.2 kB / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3619, allocations: 0 / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3619, allocations: 0 / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3619, allocations: 0 / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.363, allocations: 0.4982 MB / 0.5654 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3631, allocations: 0 / 0.5654 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.3632, allocations: 36.19 kB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3633, allocations: 4 kB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3633, allocations: 7.938 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3633, allocations: 3.938 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3633, allocations: 8.359 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.364, allocations: 283.2 kB / 0.5657 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.3641, allocations: 97.05 kB / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3641, allocations: 3.938 kB / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3643, allocations: 23.97 kB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.3643, allocations: 11.98 kB / 0.5658 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3644, allocations: 4 kB / 0.5658 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3645, allocations: 124.5 kB / 0.5659 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3645, allocations: 0 / 0.5659 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3648, allocations: 47.86 kB / 0.566 GB, free: 13.2 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 (9): * Single equations (assignments): 9 * 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.002825/0.3676, allocations: 1.227 MB / 0.5672 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.3683, allocations: 155.8 kB / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3683, allocations: 4 kB / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.3686, allocations: 79.84 kB / 0.5674 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.369, allocations: 20 kB / 0.5674 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.3722, allocations: 1.864 MB / 0.5693 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3726, allocations: 0.7002 MB / 0.5699 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.373e-05/0.3726, allocations: 16.55 kB / 0.57 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.3727, allocations: 43.41 kB / 0.57 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3727, allocations: 3.938 kB / 0.57 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3988, allocations: 4.271 MB / 0.5742 GB, free: 4.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.527, allocations: 13.23 kB / 0.5742 GB, free: 4.84 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.621611857000971] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'ramp.y', 'ramp1.y'] 8.654592994018458 8.680155786 8.321219245 Calling exit ...