Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, 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.001509/0.001509, 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.47/1.47, 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.2504/0.2504, 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.002305/0.002305, allocations: 73.03 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1268, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003472/0.1304, allocations: 1.595 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1323, allocations: 1.167 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.1324, allocations: 0 / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.1326, allocations: 23.86 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.133, allocations: 95.61 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1333, allocations: 114.8 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1335, allocations: 63.78 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.1336, allocations: 11.98 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.1337, allocations: 27.92 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1338, allocations: 35.84 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1339, allocations: 4 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1341, allocations: 99.86 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1341, allocations: 11.94 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.1342, allocations: 31.8 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1345, allocations: 128 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1345, allocations: 4 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1345, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1345, allocations: 3.938 kB / 483.6 MB, free: 1.727 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.0005197/0.135, allocations: 411.1 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1351, allocations: 8.031 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.1351, allocations: 30.75 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1352, allocations: 8.844 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1354, allocations: 196.2 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1354, allocations: 384 / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1354, allocations: 384 / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1356, allocations: 71.33 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1356, allocations: 7.938 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1356, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1357, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.1358, allocations: 19.98 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.1362, allocations: 284.9 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1364, allocations: 58.48 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1365, allocations: 12.86 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1365, allocations: 0 / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1366, allocations: 38.64 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1366, allocations: 0 / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006657/0.1372, allocations: 157.3 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.1373, allocations: 85.11 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1375, allocations: 144.3 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.1375, allocations: 25.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.1376, allocations: 92.14 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1376, allocations: 15.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1377, allocations: 21.72 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1379, allocations: 322.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.1379, allocations: 23.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.138, allocations: 33.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1382, allocations: 52.81 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1382, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002138/0.1384, allocations: 85.8 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1385, allocations: 8.031 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1385, allocations: 4.062 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1385, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.1386, allocations: 19.92 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1386, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.1386, allocations: 15.83 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1387, 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 9.341e-05/0.1388, allocations: 113.8 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.1388, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.1391, allocations: 113.7 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1391, allocations: 3.938 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1391, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1391, allocations: 3.938 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.1396, allocations: 354.5 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1396, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.1397, allocations: 19.92 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1397, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1397, allocations: 3.938 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1397, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1397, allocations: 4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.14, allocations: 175.4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1401, allocations: 89.11 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1401, allocations: 3.938 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1402, allocations: 7.984 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.1402, allocations: 192 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1402, allocations: 8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1403, allocations: 117.4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1403, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1406, allocations: 36 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.002156/0.1428, allocations: 1.105 MB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1431, allocations: 63.83 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1431, allocations: 0 / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.1432, allocations: 23.98 kB / 488 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.0003586/0.1435, allocations: 25.22 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.001813/0.1454, allocations: 1.432 MB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1457, allocations: 0.7001 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.1458, 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.411e-05/0.1459, allocations: 27.42 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1459, allocations: 0 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1715, allocations: 3.174 MB / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.053, allocations: 15.41 kB / 493.4 MB, free: 7.664 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35_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_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1)