Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001544/0.001544, 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.001485/0.001485, allocations: 212.6 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2493/0.2493, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.00235/0.00235, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3568, allocations: 66.1 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003233/0.3601, allocations: 1.607 MB / 0.5631 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3612, allocations: 0.5537 MB / 0.5636 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.3612, allocations: 0 / 0.5636 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.3615, allocations: 27.8 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.3617, allocations: 75.67 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.362, allocations: 91.7 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3622, allocations: 67.83 kB / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.3623, allocations: 11.94 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.3623, allocations: 19.92 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.3624, allocations: 27.84 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3624, allocations: 4 kB / 0.5639 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.3625, allocations: 35.98 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.3625, allocations: 15.88 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.3626, allocations: 31.73 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.3627, allocations: 79.66 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3628, allocations: 0 / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3628, allocations: 0 / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3628, allocations: 0 / 0.5641 GB, free: 1.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005205/0.3633, allocations: 317.8 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3633, allocations: 12.03 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3634, allocations: 34.75 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.3634, allocations: 8.891 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3636, allocations: 138.3 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3636, allocations: 4.375 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3636, allocations: 4.375 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3638, allocations: 42.25 kB / 0.5646 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3638, allocations: 7.938 kB / 0.5646 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3638, allocations: 0 / 0.5646 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3638, allocations: 0 / 0.5646 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.3639, allocations: 27.97 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3642, allocations: 251.9 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.3644, allocations: 46.48 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.3645, allocations: 12.86 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3645, allocations: 0 / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.3645, allocations: 38.56 kB / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3645, allocations: 0 / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.3651, allocations: 145.4 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3651, allocations: 51.41 kB / 0.5652 GB, free: 392 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3653, allocations: 165.2 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3653, allocations: 25.7 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3654, allocations: 100.1 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3654, allocations: 19.78 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3655, allocations: 17.72 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3656, allocations: 326.8 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.3657, allocations: 19.98 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.3658, allocations: 15.92 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3659, allocations: 56.77 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3659, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001841/0.3661, allocations: 77.88 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3661, allocations: 6.188 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3661, allocations: 4 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3661, allocations: 4 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.3662, allocations: 11.98 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3662, allocations: 0 / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.3662, allocations: 12 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3662, allocations: 7.875 kB / 0.566 GB, free: 15.49 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 (5): * Single equations (assignments): 5 * 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 9.889e-05/0.3663, allocations: 126.6 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3664, allocations: 7.953 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.3666, allocations: 86.06 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3666, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3666, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3666, allocations: 4 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.3671, allocations: 325.5 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3671, allocations: 0 / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.3671, allocations: 11.98 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3671, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3671, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3671, allocations: 7.938 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3671, allocations: 0 / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3674, allocations: 183.4 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.3674, allocations: 3.953 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3674, allocations: 8.266 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.3675, allocations: 3.938 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3675, allocations: 4 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3675, allocations: 4.172 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3677, allocations: 127.2 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3677, allocations: 0 / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.3679, allocations: 19.95 kB / 0.5669 GB, free: 14.5 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 (5): * Single equations (assignments): 5 * 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.001979/0.3699, allocations: 1.008 MB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3701, allocations: 55.89 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3701, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.3701, allocations: 23.98 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3705, allocations: 22.92 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3724, allocations: 1.473 MB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3727, allocations: 0.6924 MB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.3728, allocations: 15.7 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.3728, allocations: 23.44 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3728, allocations: 0 / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.4043, allocations: 2.657 MB / 0.5727 GB, free: 8.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.635, allocations: 15.06 kB / 0.5728 GB, free: 8.523 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.51116388803348] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.777720532380044 8.8054956 8.437626297 Calling exit ...