Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001435/0.001435, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.001856/0.001856, allocations: 219 kB / 23.72 MB, free: 5.051 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.458/1.458, allocations: 230.2 MB / 257.1 MB, free: 8.5 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.2248/0.2248, allocations: 46.88 MB / 360.3 MB, free: 4.66 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",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.002255/0.002255, allocations: 87.84 kB / 0.4955 GB, free: 8.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2974, allocations: 65.99 MB / 0.56 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003586/0.301, allocations: 2.056 MB / 0.562 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.303, allocations: 1.041 MB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3031, allocations: 0 / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.3037, allocations: 255.2 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.3042, allocations: 263 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.3053, allocations: 493.3 kB / 0.564 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.3057, allocations: 331 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3059, allocations: 58.03 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3061, allocations: 147.4 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.3064, allocations: 231.1 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.3064, allocations: 8 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3065, allocations: 67.98 kB / 0.5648 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3067, allocations: 103.6 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3068, allocations: 126.9 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.3072, allocations: 338.2 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3072, allocations: 4 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3072, allocations: 0 / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3073, allocations: 4 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008925/0.3081, allocations: 0.6918 MB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3082, allocations: 8.031 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.3082, allocations: 46.73 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.3083, allocations: 48.61 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.3087, allocations: 338.4 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3087, allocations: 12.38 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3088, allocations: 12.38 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.309, allocations: 106.1 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.309, allocations: 7.938 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.309, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.3091, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3092, allocations: 71.95 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.31, allocations: 0.4964 MB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3101, allocations: 86.55 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.3102, allocations: 28.84 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3103, allocations: 11.97 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3103, allocations: 30.78 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3103, allocations: 0 / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001011/0.3113, allocations: 412.2 kB / 0.5677 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3113, allocations: 55.41 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.312, allocations: 0.5877 MB / 0.5683 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.312, allocations: 25.7 kB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3122, allocations: 216.4 kB / 0.5685 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.3123, allocations: 63.47 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.3124, allocations: 41.64 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3125, allocations: 354.8 kB / 0.569 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3127, allocations: 51.97 kB / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3128, allocations: 47.97 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.313, allocations: 119.2 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.313, allocations: 3.938 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003819/0.3134, allocations: 213.1 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3134, allocations: 4 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3134, allocations: 0 / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3135, allocations: 4 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3136, allocations: 27.98 kB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3136, allocations: 4 kB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.3137, allocations: 7.984 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3137, allocations: 12 kB / 0.5694 GB, free: 11.02 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 (17): * Single equations (assignments): 17 * 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.0001908/0.3139, allocations: 173.8 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.314, allocations: 47.66 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.3145, allocations: 244.2 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3145, allocations: 4 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3145, allocations: 0 / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3145, allocations: 0 / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.3154, allocations: 0.6426 MB / 0.5705 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3154, allocations: 0 / 0.5705 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3155, allocations: 39.91 kB / 0.5705 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3156, allocations: 0 / 0.5705 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3156, allocations: 4 kB / 0.5705 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3156, allocations: 4 kB / 0.5706 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3156, allocations: 0 / 0.5706 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.316, allocations: 305.1 kB / 0.5708 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3161, allocations: 124.8 kB / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.3162, allocations: 0 / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3163, allocations: 12 kB / 0.571 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.3163, allocations: 11.92 kB / 0.571 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3163, allocations: 11.94 kB / 0.571 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004947/0.3168, allocations: 443.1 kB / 0.5714 GB, free: 8.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3168, allocations: 0 / 0.5714 GB, free: 8.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.3172, allocations: 51.92 kB / 0.5715 GB, free: 8.82 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 (17): * Single equations (assignments): 17 * 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.003326/0.3205, allocations: 1.43 MB / 0.5729 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3208, allocations: 131.8 kB / 0.573 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3208, allocations: 0 / 0.573 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.321, allocations: 67.91 kB / 0.5731 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.3215, allocations: 86.39 kB / 0.5731 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.3256, allocations: 3.176 MB / 0.5762 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.326, allocations: 0.8143 MB / 0.577 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.3262, allocations: 50.23 kB / 0.5771 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.3263, allocations: 135.4 kB / 0.5772 GB, free: 3.109 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3263, allocations: 3.938 kB / 0.5772 GB, free: 3.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.3565, allocations: 7.676 MB / 0.5847 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/8.981, allocations: 4 kB / 0.5847 GB, free: 11.42 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.853699730243534] Failed to read output from testmodel.py, exit status != 0: ['time', 'clock1.y', 'combiTable2D1D.y', 'combiTable2D1DT.y', 'combiTable1D.y[1]', 'combiTable2D.y', 'combiTable2DT.y', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.11118083819747 9.142206046 8.829318701 Calling exit ...