Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001464/0.001464, 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.001602/0.001602, 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.422/1.422, 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.222/0.222, allocations: 46.11 MB / 344.2 MB, free: 11.61 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.002191/0.002191, allocations: 82.61 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1074, allocations: 62.45 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003093/0.1105, allocations: 1.596 MB / 481.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1123, allocations: 1.16 MB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.1123, allocations: 0 / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1126, allocations: 27.84 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1128, allocations: 83.62 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1131, allocations: 91.45 kB / 483.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1132, allocations: 67.88 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.1133, allocations: 8 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.1134, allocations: 31.8 kB / 483.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1136, allocations: 39.84 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1136, allocations: 4 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1138, allocations: 91.94 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.1138, allocations: 19.86 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.1139, allocations: 19.88 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1141, allocations: 140 kB / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.781 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.0005341/0.1147, allocations: 403.1 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1147, allocations: 16.03 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.1147, allocations: 34.75 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.1148, allocations: 12.83 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.115, allocations: 192.1 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.115, allocations: 384 / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.115, allocations: 4.375 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1152, allocations: 63.34 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1152, allocations: 0 / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1152, allocations: 7.984 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1153, allocations: 0 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.1153, allocations: 23.98 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1157, allocations: 276.8 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1159, allocations: 46.56 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.116, allocations: 16.94 kB / 484.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.116, allocations: 0 / 484.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.116, allocations: 34.56 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.957e-06/0.116, allocations: 0 / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000534/0.1166, allocations: 149.2 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.1166, allocations: 85.05 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1168, allocations: 148.1 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1168, allocations: 25.7 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.1169, allocations: 96.12 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1169, allocations: 15.66 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.117, allocations: 21.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1171, allocations: 322.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.1172, allocations: 23.98 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.1173, allocations: 29.89 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1174, allocations: 48.83 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1175, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000188/0.1176, allocations: 77.67 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1177, allocations: 4 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1177, allocations: 7.969 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1177, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.1178, allocations: 15.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1178, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1178, allocations: 15.83 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1179, allocations: 0 / 485.7 MB, free: 15.36 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 8.698e-05/0.118, allocations: 113.8 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.118, allocations: 4 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.1182, allocations: 101.8 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1183, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1183, allocations: 3.938 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1183, allocations: 3.938 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.1187, allocations: 346.5 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1187, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.1188, allocations: 19.98 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1188, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1188, allocations: 4.125 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1188, allocations: 4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1189, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1191, allocations: 175.4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.1192, allocations: 85.38 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1192, allocations: 11.94 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1193, allocations: 7.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1193, allocations: 7.969 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1193, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1194, allocations: 111.3 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1194, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1197, allocations: 31.98 kB / 486.8 MB, free: 14.24 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.002132/0.1219, allocations: 1.096 MB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1221, allocations: 55.89 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1221, allocations: 0 / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.1222, allocations: 27.92 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1226, allocations: 20.88 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1243, allocations: 1.405 MB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1246, allocations: 0.6924 MB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.1247, allocations: 12.48 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.1248, allocations: 27.42 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1248, allocations: 0 / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.1502, allocations: 3.155 MB / 493.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.159, allocations: 9.125 kB / 493.3 MB, free: 7.852 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1)