Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001703/0.001703, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002073/0.002073, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2459/0.2459, allocations: 46.1 MB / 344.2 MB, free: 11.57 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.00223/0.00223, allocations: 82.39 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003501/0.1268, allocations: 1.602 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1287, allocations: 1.171 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.1287, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.129, allocations: 23.86 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1293, allocations: 91.61 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1297, allocations: 110.7 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1298, allocations: 63.89 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.13, allocations: 15.98 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.13, allocations: 31.8 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1302, allocations: 31.84 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1302, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1304, allocations: 95.94 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1305, allocations: 15.92 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1305, allocations: 23.81 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1308, allocations: 136 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1308, allocations: 4 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1308, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1308, allocations: 0 / 483.6 MB, free: 1.723 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.0005702/0.1314, allocations: 399.1 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1314, allocations: 12.02 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.1315, allocations: 34.75 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.1315, allocations: 8.844 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1318, allocations: 196.1 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1318, allocations: 4.375 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1318, allocations: 384 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.132, allocations: 63.34 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.132, allocations: 3.984 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.132, allocations: 4 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.132, allocations: 4 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1322, allocations: 19.98 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.1326, allocations: 288.8 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1328, allocations: 46.56 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.1329, allocations: 20.94 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1329, allocations: 11.94 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.133, allocations: 30.56 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.977e-06/0.133, allocations: 3.984 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006087/0.1336, allocations: 149.2 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.1337, allocations: 85.11 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1338, allocations: 152.5 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1339, allocations: 29.64 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.134, allocations: 92.14 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.134, allocations: 11.72 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.134, allocations: 25.64 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1342, allocations: 322.8 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.1343, allocations: 23.97 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.1344, allocations: 33.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1345, allocations: 52.83 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1345, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000212/0.1348, allocations: 85.66 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1348, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1348, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1348, allocations: 4.031 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1349, allocations: 19.92 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1349, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.135, allocations: 11.84 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.135, allocations: 0 / 485.8 MB, free: 15.27 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.0001127/0.1351, allocations: 117.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1352, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1354, allocations: 101.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1354, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1355, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1355, allocations: 8.234 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.136, allocations: 358.5 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.136, allocations: 3.984 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.136, allocations: 12 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.136, allocations: 4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1361, allocations: 3.938 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1361, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1361, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1364, allocations: 187.4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.1364, allocations: 85.09 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1365, allocations: 3.938 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.1366, allocations: 8 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1366, allocations: 3.984 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1366, allocations: 7.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1367, allocations: 113.5 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.137, allocations: 39.98 kB / 486.9 MB, free: 14.12 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.002195/0.1392, allocations: 1.1 MB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1395, allocations: 59.84 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1395, allocations: 0 / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.1396, allocations: 36.03 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.14, allocations: 21 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1418, allocations: 1.436 MB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1422, allocations: 0.6924 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.1423, allocations: 15.98 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.1423, allocations: 23.42 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1424, allocations: 7.938 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.1678, allocations: 3.172 MB / 493.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.406, allocations: 14.25 kB / 493.4 MB, free: 7.66 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1)