Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001666/0.001666, 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.001978/0.001978, 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.436/1.436, allocations: 230.2 MB / 256.2 MB, free: 8.699 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.2307/0.2307, allocations: 46.9 MB / 359.4 MB, free: 4.93 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002234/0.002234, allocations: 79.86 kB / 0.4942 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3166, allocations: 65.98 MB / 0.5586 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002847/0.3194, allocations: 1.622 MB / 0.5602 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3204, allocations: 0.5761 MB / 0.5607 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.3205, allocations: 4 kB / 0.5607 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.3211, allocations: 443.2 kB / 0.5612 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.3216, allocations: 299.2 kB / 0.5614 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.3221, allocations: 171.1 kB / 0.5616 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.3223, allocations: 167.7 kB / 0.5618 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3225, allocations: 15.98 kB / 0.5618 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3226, allocations: 111.7 kB / 0.5619 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3229, allocations: 243.5 kB / 0.5621 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3229, allocations: 4 kB / 0.5621 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.323, allocations: 27.98 kB / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3231, allocations: 88.59 kB / 0.5622 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.3232, allocations: 99 kB / 0.5623 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.3236, allocations: 260.4 kB / 0.5626 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3236, allocations: 7.984 kB / 0.5626 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3236, allocations: 0 / 0.5626 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3236, allocations: 0 / 0.5626 GB, free: 1.016 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.0008085/0.3244, allocations: 0.6529 MB / 0.5632 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3244, allocations: 12.03 kB / 0.5632 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.3245, allocations: 30.75 kB / 0.5633 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.3245, allocations: 52.64 kB / 0.5633 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.3249, allocations: 300.6 kB / 0.5636 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-06/0.3249, allocations: 384 / 0.5636 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3249, allocations: 8.312 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.325, allocations: 54.19 kB / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.325, allocations: 3.938 kB / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.325, allocations: 0 / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.325, allocations: 0 / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.3251, allocations: 27.97 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.3256, allocations: 388.8 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.3257, allocations: 38.52 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.3258, allocations: 16.91 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3258, allocations: 4 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3258, allocations: 34.5 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3258, allocations: 0 / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002724/0.3261, allocations: 113.4 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.3261, allocations: 55.34 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.3271, allocations: 0.8738 MB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3271, allocations: 25.7 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.3273, allocations: 228.1 kB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.3273, allocations: 7.891 kB / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.3273, allocations: 13.72 kB / 0.5654 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3275, allocations: 366.7 kB / 0.5658 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.3276, allocations: 12.02 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.3276, allocations: 12 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.3277, allocations: 24.84 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3277, allocations: 0 / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001659/0.3278, allocations: 97.39 kB / 0.5659 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3279, allocations: 7.938 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3279, allocations: 4.094 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3279, allocations: 0 / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.3279, allocations: 8 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3279, allocations: 0 / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.328, allocations: 3.984 kB / 0.5659 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.328, allocations: 4 kB / 0.5659 GB, free: 13.33 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.0001989/0.3282, allocations: 213.7 kB / 0.5662 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.3283, allocations: 47.66 kB / 0.5662 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.3285, allocations: 108.7 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3285, allocations: 4 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3285, allocations: 3.938 kB / 0.5663 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3285, allocations: 0 / 0.5663 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.3288, allocations: 293.5 kB / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3288, allocations: 0 / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.3288, allocations: 7.938 kB / 0.5666 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3288, allocations: 0 / 0.5666 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3288, allocations: 4 kB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3288, allocations: 0 / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3288, allocations: 4.031 kB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.329, allocations: 195.2 kB / 0.5668 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.3291, allocations: 112.8 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3292, allocations: 3.984 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.3292, allocations: 0 / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.3292, allocations: 7.984 kB / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3293, allocations: 0 / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006684/0.3299, allocations: 0.6668 MB / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3299, allocations: 3.938 kB / 0.5676 GB, free: 11.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3302, allocations: 16 kB / 0.5676 GB, free: 11.56 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.001622/0.3318, allocations: 0.9708 MB / 0.5685 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.3319, allocations: 19.98 kB / 0.5685 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3319, allocations: 0 / 0.5685 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.332, allocations: 23.92 kB / 0.5686 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3324, allocations: 26.3 kB / 0.5686 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.336, allocations: 3.191 MB / 0.5717 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3365, allocations: 0.826 MB / 0.5725 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.3365, allocations: 15.73 kB / 0.5725 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3367, allocations: 111.4 kB / 0.5726 GB, free: 6.363 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3367, allocations: 0 / 0.5726 GB, free: 6.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3652, allocations: 5.817 MB / 0.5783 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/9.125, allocations: 13.67 kB / 0.5783 GB, free: 0.5469 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.927187013992807] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock.y', 'const.y'] 9.250014785007806 9.265697678 8.939111697 Calling exit ...