Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001837, 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.002385/0.002385, 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.458/1.458, 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.2244/0.2244, allocations: 46.11 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.002489/0.002489, allocations: 84.62 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1366, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003565/0.1402, allocations: 1.6 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1422, allocations: 1.167 MB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.1423, allocations: 0 / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1426, allocations: 23.86 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.143, allocations: 87.61 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1434, allocations: 111 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1436, allocations: 67.83 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1437, allocations: 15.98 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.1438, allocations: 27.86 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.144, allocations: 39.78 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.144, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.1443, allocations: 99.88 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.1444, allocations: 11.98 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.1445, allocations: 19.81 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.1448, allocations: 140 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1449, allocations: 4 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1449, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1449, 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.000673/0.1456, allocations: 407.1 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1456, allocations: 12.03 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.1457, allocations: 34.69 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.1457, allocations: 8.844 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.146, allocations: 192.2 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.146, allocations: 384 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1461, allocations: 8.375 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1463, allocations: 67.33 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1463, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1463, allocations: 3.938 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1463, allocations: 4 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1464, allocations: 23.97 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.1469, allocations: 284.9 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1472, allocations: 46.56 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1472, allocations: 16.88 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1473, allocations: 4 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1473, allocations: 34.56 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1473, allocations: 4 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006459/0.148, allocations: 153.2 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.148, allocations: 77.11 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1482, allocations: 156.4 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1483, allocations: 29.7 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1483, allocations: 88.14 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1484, allocations: 23.7 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1484, allocations: 17.72 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1485, allocations: 326.8 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.1486, allocations: 19.98 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.1487, allocations: 29.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1489, allocations: 56.86 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1489, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002127/0.1491, allocations: 85.84 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1491, allocations: 8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1491, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1492, allocations: 4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.1492, allocations: 11.98 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1493, allocations: 4 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.1493, allocations: 11.84 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1493, allocations: 4 kB / 485.8 MB, free: 15.26 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.000115/0.1495, allocations: 117.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.1495, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.1498, allocations: 101.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1498, allocations: 7.984 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1498, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1498, allocations: 7.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.1503, allocations: 358.5 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1503, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.1504, allocations: 15.94 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1504, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1504, allocations: 3.938 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1505, allocations: 3.984 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1505, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1507, allocations: 179.4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1508, allocations: 85.09 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.1509, allocations: 7.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.151, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.151, allocations: 7.922 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1511, allocations: 192 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1512, allocations: 117.3 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1512, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1515, 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.002445/0.154, allocations: 1.106 MB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1543, allocations: 63.84 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1543, allocations: 0 / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.1544, allocations: 27.97 kB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.1548, allocations: 15 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.002105/0.157, 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.0004029/0.1574, allocations: 0.6885 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.894e-05/0.1575, allocations: 19.92 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.1576, allocations: 27.42 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1576, allocations: 0 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.1853, allocations: 3.177 MB / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.177, allocations: 9 kB / 493.4 MB, free: 7.668 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1)