Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2268/0.2268, allocations: 46.12 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.002254/0.002254, allocations: 80.36 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1191, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003291/0.1225, allocations: 1.612 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.1235, allocations: 0.5338 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.1235, allocations: 0 / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1238, allocations: 87.7 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1241, allocations: 91.66 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1244, allocations: 98.81 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1246, allocations: 79.81 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1247, allocations: 19.98 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.1247, allocations: 35.84 kB / 482.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1249, allocations: 55.83 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1249, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.125, allocations: 51.97 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.125, allocations: 23.92 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1251, allocations: 31.69 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1252, allocations: 104 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1253, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1253, allocations: 3.938 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1253, allocations: 0 / 483 MB, free: 2.301 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.0004716/0.1258, allocations: 415 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1258, allocations: 8.031 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.1258, allocations: 42.73 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.1259, allocations: 12.84 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1261, allocations: 196.8 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1261, allocations: 4.359 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1261, allocations: 4.312 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1263, allocations: 57.62 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1263, allocations: 3.906 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1263, allocations: 4 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1263, allocations: 0 / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.1264, allocations: 27.97 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.1268, allocations: 296.8 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.127, allocations: 46.48 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.127, allocations: 24.94 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.127, allocations: 4.062 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1271, allocations: 34.5 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1271, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008955/0.128, allocations: 221 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.128, allocations: 59.34 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1283, allocations: 218.3 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1283, allocations: 29.7 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1284, allocations: 108 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1284, allocations: 27.62 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1284, allocations: 21.72 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1286, allocations: 330.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.1287, allocations: 23.98 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.1288, allocations: 19.98 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1289, allocations: 64.81 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.129, allocations: 0 / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002154/0.1292, allocations: 105.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1292, allocations: 4 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1292, allocations: 0 / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1292, allocations: 3.984 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1293, allocations: 19.94 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1294, allocations: 3.938 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.1294, allocations: 7.984 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1294, allocations: 4 kB / 485.4 MB, free: 15.66 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.871e-05/0.1295, allocations: 129.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1296, allocations: 11.81 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1299, allocations: 126.9 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1299, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1299, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1299, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1304, allocations: 403.3 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1304, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.1305, allocations: 23.92 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1305, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-06/0.1305, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1305, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1305, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1308, allocations: 212.1 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1309, allocations: 88.95 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1309, allocations: 0 / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.131, allocations: 11.92 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.131, allocations: 8 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.131, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1312, allocations: 168.2 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1312, allocations: 3.938 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1314, allocations: 20 kB / 486.6 MB, free: 14.35 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.002076/0.1335, allocations: 1.081 MB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1337, allocations: 59.95 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1338, allocations: 4 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.1338, allocations: 43.86 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1342, allocations: 20.25 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1361, allocations: 1.658 MB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1364, allocations: 0.704 MB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.1365, allocations: 16.97 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.1365, allocations: 35.42 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1365, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1598, allocations: 3.039 MB / 493.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.459, allocations: 16.95 kB / 493.3 MB, free: 7.777 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1)