Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, 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.002139/0.002139, 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.555/1.555, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2495/0.2495, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002195/0.002195, allocations: 73.91 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1167, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002803/0.1195, allocations: 1.608 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009241/0.1205, allocations: 0.5494 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.1205, allocations: 4 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1208, allocations: 127.7 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1211, allocations: 123.5 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1214, allocations: 114.9 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1216, allocations: 91.86 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1217, allocations: 19.98 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.1218, allocations: 59.75 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.122, allocations: 75.8 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.122, allocations: 4 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1221, allocations: 47.98 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.1222, allocations: 23.86 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.1222, allocations: 47.66 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1224, allocations: 123.9 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1225, allocations: 0 / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1225, allocations: 0 / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1225, allocations: 0 / 483.2 MB, free: 2.109 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005572/0.123, allocations: 430.8 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1231, allocations: 8.031 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1231, allocations: 34.69 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1232, allocations: 20.69 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1234, allocations: 211.9 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1234, allocations: 8.375 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1234, allocations: 4.375 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1236, allocations: 57.61 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1236, allocations: 0 / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1236, allocations: 0 / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1236, allocations: 3.938 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1237, allocations: 31.91 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1242, allocations: 312.7 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.1244, allocations: 46.56 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1244, allocations: 20.94 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1244, allocations: 0 / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1245, allocations: 34.5 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.937e-06/0.1245, allocations: 7.984 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009395/0.1254, allocations: 245 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1255, allocations: 51.41 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1258, allocations: 283.7 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1258, allocations: 29.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.126, allocations: 116.1 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.126, allocations: 27.62 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.126, allocations: 29.7 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1263, allocations: 326.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.1264, allocations: 31.97 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.1264, allocations: 28.05 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.1266, allocations: 76.81 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1266, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003286/0.127, allocations: 121.4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.127, allocations: 4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.127, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.127, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1271, allocations: 19.98 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1271, allocations: 7.938 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.1272, allocations: 11.84 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1272, allocations: 0 / 485.8 MB, free: 15.29 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 0.0001657/0.1274, allocations: 137.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.1275, allocations: 11.91 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.1278, allocations: 134.9 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1278, allocations: 15.92 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1278, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1278, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.1284, allocations: 423.3 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1284, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.1285, allocations: 23.92 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1285, allocations: 4.031 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1285, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.1285, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1285, allocations: 3.938 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.1288, allocations: 212.6 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.1289, allocations: 92.86 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1289, allocations: 8 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.129, allocations: 7.984 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1291, allocations: 4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1291, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1293, allocations: 213.5 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1293, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1295, allocations: 20 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002242/0.1318, allocations: 1.105 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.132, allocations: 79.88 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.132, allocations: 0 / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1322, allocations: 39.97 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1326, allocations: 18 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1352, allocations: 1.84 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1356, allocations: 0.7197 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.1357, allocations: 20.95 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1358, allocations: 47.42 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1358, allocations: 0 / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.1636, allocations: 3.363 MB / 494.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.216, allocations: 13.08 kB / 494.3 MB, free: 6.727 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1)