Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, 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.002145/0.002145, 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.535/1.535, 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.233/0.233, 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.002244/0.002244, allocations: 82.05 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002739/0.116, allocations: 1.622 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008615/0.1169, allocations: 0.5299 MB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.1169, allocations: 0 / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1172, allocations: 115.6 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1175, allocations: 111.6 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1177, allocations: 91.7 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1179, allocations: 91.8 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.1179, allocations: 20 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.118, allocations: 43.83 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1181, allocations: 67.8 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1181, allocations: 4 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.1182, allocations: 39.98 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.1183, allocations: 31.84 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.1183, allocations: 39.69 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1185, allocations: 115.9 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1185, allocations: 0 / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1185, allocations: 0 / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1185, allocations: 0 / 483.1 MB, free: 2.207 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.0004612/0.119, allocations: 426.8 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.119, allocations: 12.03 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1191, allocations: 34.75 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1191, allocations: 8.844 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1193, allocations: 217.6 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.1193, allocations: 4.375 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1194, allocations: 4.375 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1195, allocations: 57.61 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1195, allocations: 0 / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.1195, allocations: 3.938 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1195, allocations: 0 / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.1196, allocations: 27.97 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.12, allocations: 304.7 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.1201, allocations: 42.56 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.1201, allocations: 16.94 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1202, allocations: 4 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1202, allocations: 30.56 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1202, allocations: 4 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008022/0.121, allocations: 229 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1211, allocations: 59.34 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1213, allocations: 262.1 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1213, allocations: 29.7 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.1214, allocations: 108.1 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1214, allocations: 31.56 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1215, allocations: 25.7 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1216, allocations: 322.8 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.1217, allocations: 19.98 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1218, allocations: 27.98 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1219, allocations: 68.77 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1219, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002067/0.1221, allocations: 109.9 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1222, allocations: 4 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1222, allocations: 3.938 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1222, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.1223, allocations: 23.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1223, allocations: 7.938 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.1223, allocations: 4 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1223, allocations: 0 / 485.6 MB, free: 15.49 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.83e-05/0.1224, allocations: 133.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1225, allocations: 15.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.1227, allocations: 123.2 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1228, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1228, allocations: 7.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1228, allocations: 3.984 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.1233, allocations: 411.4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1233, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.1234, allocations: 23.92 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1234, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1234, allocations: 8.031 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1234, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.1234, allocations: 4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1237, allocations: 204.1 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1237, allocations: 88.95 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1237, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1238, allocations: 15.98 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.1239, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1239, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.124, allocations: 188.4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.124, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1243, allocations: 23.98 kB / 486.8 MB, free: 14.15 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.001969/0.1262, allocations: 1.101 MB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1265, allocations: 63.97 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1265, allocations: 0 / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.1266, allocations: 43.91 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1269, allocations: 14.22 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1287, allocations: 1.73 MB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.129, allocations: 0.7234 MB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.1291, allocations: 16.97 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.1291, allocations: 35.42 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1291, allocations: 0 / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0435/0.1726, allocations: 3.201 MB / 493.7 MB, free: 7.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.506, allocations: 8.453 kB / 493.8 MB, free: 7.316 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1)