Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 103.9 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.001633/0.001633, allocations: 210.4 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.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2286/0.2286, allocations: 46.12 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.003605/0.003605, allocations: 85.23 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1388, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00318/0.142, allocations: 1.606 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1438, allocations: 1.179 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1439, allocations: 7.938 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.1441, allocations: 23.84 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.1444, allocations: 83.61 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1447, allocations: 119.3 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1448, allocations: 71.84 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.145, allocations: 23.98 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.145, allocations: 35.84 kB / 483.4 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1452, allocations: 35.84 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1452, allocations: 8 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1454, allocations: 95.92 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1454, allocations: 19.88 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.1455, allocations: 31.8 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1457, allocations: 147.9 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1457, allocations: 3.984 kB / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1457, allocations: 0 / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1458, allocations: 0 / 483.7 MB, free: 1.664 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005513/0.1463, allocations: 411.1 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1464, allocations: 12.03 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1464, allocations: 42.67 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1465, allocations: 8.844 kB / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1467, allocations: 208.1 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.1467, allocations: 384 / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1467, allocations: 4.375 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1469, allocations: 83.31 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.147, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.147, allocations: 7.938 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.147, allocations: 0 / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1471, allocations: 35.97 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.1476, allocations: 308.8 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1477, allocations: 58.58 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.1478, allocations: 20.97 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1478, allocations: 8 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1479, allocations: 34.56 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1479, allocations: 0 / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006496/0.1485, allocations: 193.2 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.1486, allocations: 81.11 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1488, allocations: 145.8 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1488, allocations: 33.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.1489, allocations: 100.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.1489, allocations: 31.53 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.149, allocations: 21.72 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1491, allocations: 322.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.1492, allocations: 27.98 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.1493, allocations: 53.62 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1495, allocations: 73.19 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1495, allocations: 0 / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002236/0.1498, allocations: 101.6 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1498, allocations: 6.031 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1498, allocations: 8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1498, allocations: 3.938 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1499, allocations: 20.02 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1499, allocations: 3.938 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.15, allocations: 7.938 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.15, allocations: 7.938 kB / 486.1 MB, free: 14.98 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 (8): * Single equations (assignments): 8 * 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.293e-05/0.1501, allocations: 121.8 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1501, allocations: 7.906 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.1505, allocations: 134.6 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1505, allocations: 3.984 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1505, allocations: 3.938 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1505, allocations: 0 / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.1511, allocations: 406.4 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1511, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.1512, allocations: 19.92 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1512, allocations: 4 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1512, allocations: 8 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1512, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1512, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.1515, allocations: 207.3 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1516, allocations: 89.03 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1516, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.1517, allocations: 8 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1518, allocations: 3.984 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1518, allocations: 8 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1519, allocations: 119.2 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1522, allocations: 40 kB / 487.3 MB, free: 13.71 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 (8): * Single equations (assignments): 8 * 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.002131/0.1543, allocations: 1.131 MB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1546, allocations: 67.95 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1546, allocations: 0 / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1547, allocations: 43.91 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1551, allocations: 25.42 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.157, allocations: 1.539 MB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1573, allocations: 0.708 MB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.1574, allocations: 24.72 kB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.1575, allocations: 31.42 kB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1575, allocations: 0 / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.189, allocations: 3.364 MB / 494.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.503, allocations: 19.25 kB / 494.2 MB, free: 6.879 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1)