Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2558/0.2558, allocations: 46.11 MB / 344.2 MB, free: 11.6 MB / 286.1 MB 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.002962/0.002962, allocations: 82.38 kB / 417.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1375, allocations: 62.45 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.004182/0.1417, allocations: 1.596 MB / 481.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1442, allocations: 1.156 MB / 483 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.1443, allocations: 8 kB / 483 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1446, allocations: 19.86 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.145, allocations: 83.61 kB / 483.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1454, allocations: 94.56 kB / 483.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1455, allocations: 63.84 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1457, allocations: 12 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.1457, allocations: 31.84 kB / 483.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1459, allocations: 27.86 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.146, allocations: 4 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.1462, allocations: 107.9 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1463, allocations: 11.92 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.1463, allocations: 27.86 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.1466, allocations: 128 kB / 483.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1466, allocations: 0 / 483.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1467, allocations: 0 / 483.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1467, allocations: 0 / 483.6 MB, free: 1.805 MB / 350.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.0006924/0.1474, allocations: 415.1 kB / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1474, allocations: 8.031 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.1475, allocations: 34.69 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.1475, allocations: 12.84 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1478, allocations: 191 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1478, allocations: 4.375 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1479, allocations: 4.312 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.148, allocations: 67.33 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1481, allocations: 4 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1481, allocations: 0 / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1481, allocations: 4 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.1482, allocations: 23.92 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1486, allocations: 276.9 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1489, allocations: 46.56 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1489, allocations: 8.859 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.149, allocations: 4 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.149, allocations: 38.58 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.149, allocations: 0 / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006412/0.1497, allocations: 149.3 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.1497, allocations: 84.98 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1499, allocations: 144.5 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1499, allocations: 25.7 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.15, allocations: 96.12 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.1501, allocations: 15.72 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1501, allocations: 17.72 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1503, allocations: 322.8 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.1504, allocations: 23.98 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.1505, allocations: 29.89 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1506, allocations: 48.83 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1506, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002207/0.1508, allocations: 81.61 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1509, allocations: 12.02 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1509, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1509, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.151, allocations: 12 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.151, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.1511, allocations: 15.83 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1511, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.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 0.0001059/0.1512, allocations: 113.8 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1512, allocations: 4 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1515, allocations: 105.8 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1515, allocations: 0 / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1515, allocations: 3.984 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1515, allocations: 3.938 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.152, allocations: 346.5 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.152, allocations: 4 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1521, allocations: 15.98 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1521, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1521, allocations: 8.062 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1521, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1521, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1524, allocations: 179.4 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1524, allocations: 81.11 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1525, allocations: 3.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1525, allocations: 11.94 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1526, allocations: 7.984 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1526, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1527, allocations: 117.6 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1527, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.153, allocations: 32 kB / 486.8 MB, free: 14.25 MB / 366.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.002198/0.1552, allocations: 1.09 MB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1555, allocations: 55.91 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1555, allocations: 0 / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.1556, allocations: 23.92 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.156, allocations: 29.61 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1577, allocations: 1.405 MB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.158, allocations: 0.6924 MB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.618e-05/0.1581, allocations: 12.25 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.1582, allocations: 27.42 kB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1582, allocations: 0 / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.1876, allocations: 3.149 MB / 493.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.344, allocations: 9.047 kB / 493.3 MB, free: 7.875 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1)