Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001237/0.001237, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001326/0.001326, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.287/1.287, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] 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.2007/0.2007, allocations: 46.9 MB / 359.3 MB, free: 5.051 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",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.002125/0.002125, allocations: 83.86 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2571, allocations: 65.97 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002723/0.2598, allocations: 1.668 MB / 0.5601 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2615, allocations: 1.243 MB / 0.5613 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.2615, allocations: 0 / 0.5613 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2617, allocations: 27.8 kB / 0.5613 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.2619, allocations: 91.61 kB / 0.5614 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.2622, allocations: 135.3 kB / 0.5615 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2623, allocations: 67.78 kB / 0.5616 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.2624, allocations: 17.81 kB / 0.5616 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.2625, allocations: 31.84 kB / 0.5616 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2626, allocations: 35.84 kB / 0.5617 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2626, allocations: 11.94 kB / 0.5617 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2628, allocations: 99.88 kB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.2628, allocations: 23.91 kB / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.2629, allocations: 31.8 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2631, allocations: 143.5 kB / 0.562 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2631, allocations: 0 / 0.562 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2631, allocations: 3.938 kB / 0.562 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2631, allocations: 0 / 0.562 GB, free: 1.586 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.0005241/0.2636, allocations: 426.7 kB / 0.5624 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2637, allocations: 12.03 kB / 0.5624 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.2637, allocations: 34.75 kB / 0.5624 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.2637, allocations: 8.891 kB / 0.5624 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2639, allocations: 196.2 kB / 0.5626 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.264, allocations: 8.375 kB / 0.5626 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.264, allocations: 4.328 kB / 0.5626 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2641, allocations: 79.27 kB / 0.5627 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2641, allocations: 4 kB / 0.5627 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.2642, allocations: 0 / 0.5627 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.2642, allocations: 0 / 0.5627 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2643, allocations: 39.95 kB / 0.5627 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.2646, allocations: 292.8 kB / 0.563 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2648, allocations: 50.5 kB / 0.5631 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.2648, allocations: 24.94 kB / 0.5631 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2649, allocations: 3.984 kB / 0.5631 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2649, allocations: 30.56 kB / 0.5631 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2649, allocations: 4 kB / 0.5631 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007357/0.2656, allocations: 213.2 kB / 0.5633 GB, free: 0 / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.2657, allocations: 85.11 kB / 0.5634 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.2659, allocations: 150.1 kB / 0.5636 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2659, allocations: 25.7 kB / 0.5636 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.2659, allocations: 92.14 kB / 0.5637 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.266, allocations: 35.8 kB / 0.5637 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.266, allocations: 25.72 kB / 0.5637 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2661, allocations: 318.8 kB / 0.564 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2663, allocations: 31.97 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2664, allocations: 45.69 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.2666, allocations: 84.77 kB / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2666, allocations: 0 / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002744/0.2669, allocations: 105.6 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2669, allocations: 10.19 kB / 0.5643 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2669, allocations: 0 / 0.5643 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2669, allocations: 0 / 0.5643 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.267, allocations: 27.92 kB / 0.5643 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.267, allocations: 0 / 0.5643 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.2671, allocations: 15.92 kB / 0.5643 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2671, allocations: 4 kB / 0.5643 GB, free: 14.89 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 (7): * Single equations (assignments): 7 * 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.554e-05/0.2672, allocations: 117.8 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.2672, allocations: 7.953 kB / 0.5645 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.2676, allocations: 138.6 kB / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2676, allocations: 0 / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2676, allocations: 0 / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2676, allocations: 3.938 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.2681, allocations: 390.5 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2681, allocations: 0 / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/0.2682, allocations: 27.98 kB / 0.565 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2682, allocations: 3.984 kB / 0.565 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.2682, allocations: 3.938 kB / 0.565 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2682, allocations: 0 / 0.565 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2682, allocations: 0 / 0.565 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.2685, allocations: 223.3 kB / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.2686, allocations: 89.05 kB / 0.5653 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2686, allocations: 11.94 kB / 0.5653 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.2687, allocations: 7.984 kB / 0.5653 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.2688, allocations: 4 kB / 0.5653 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.2688, allocations: 4 kB / 0.5653 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2689, allocations: 121.4 kB / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2689, allocations: 0 / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.2691, allocations: 47.86 kB / 0.5655 GB, free: 13.61 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 (7): * Single equations (assignments): 7 * 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.002104/0.2712, allocations: 1.123 MB / 0.5666 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.2715, allocations: 79.88 kB / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2715, allocations: 0 / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2717, allocations: 43.97 kB / 0.5667 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.272, allocations: 15.36 kB / 0.5667 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.2739, allocations: 1.594 MB / 0.5683 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2742, allocations: 0.6963 MB / 0.569 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.2742, allocations: 16.97 kB / 0.569 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.2743, allocations: 35.41 kB / 0.569 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2743, allocations: 0 / 0.569 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.301, allocations: 3.523 MB / 0.5725 GB, free: 6.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.459, allocations: 10.89 kB / 0.5725 GB, free: 6.496 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.976326092990348]