Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_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.001373/0.001373, 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.001348/0.001349, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2227/0.2227, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002258/0.002258, allocations: 80.67 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.117, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003293/0.1203, allocations: 1.735 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1222, allocations: 1.017 MB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1222, allocations: 0 / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1226, allocations: 43.77 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1229, allocations: 103.5 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.1231, allocations: 75.67 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1233, allocations: 103.7 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1235, allocations: 8 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.1236, allocations: 43.78 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.1236, allocations: 35.78 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1237, allocations: 4 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1238, allocations: 47.98 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.1238, allocations: 19.86 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.1239, allocations: 43.73 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1241, allocations: 111.9 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1242, allocations: 3.938 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1242, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1242, allocations: 0 / 483.6 MB, free: 1.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006044/0.1248, allocations: 414.9 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1248, allocations: 8.031 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1249, allocations: 34.73 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1249, allocations: 16.84 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1252, allocations: 216.7 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1252, allocations: 384 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1252, allocations: 3.938 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1254, allocations: 57.67 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1254, allocations: 3.906 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1254, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1255, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.1255, allocations: 23.98 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1259, allocations: 288.9 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1261, allocations: 58.61 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.1262, allocations: 20.86 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1262, allocations: 0 / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1264, allocations: 79.38 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1264, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000543/0.127, allocations: 169.2 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.127, allocations: 51.41 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1272, allocations: 206.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1273, allocations: 25.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1273, allocations: 104.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.1274, allocations: 27.64 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.1274, allocations: 21.72 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1276, allocations: 326.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.1276, allocations: 19.98 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.1277, allocations: 33.7 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1279, allocations: 65.7 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1279, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.1281, allocations: 105.4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1281, allocations: 8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1281, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1281, allocations: 192 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.1282, allocations: 15.98 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1282, allocations: 7.875 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1283, allocations: 7.938 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1283, allocations: 4 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001164/0.1284, allocations: 133.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1285, allocations: 11.89 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1285, allocations: 17.41 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1285, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1285, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1285, allocations: 7.922 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.129, allocations: 399.2 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.129, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.1291, allocations: 8 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1291, allocations: 3.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1291, allocations: 7.984 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1291, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1291, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1294, allocations: 204.3 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1294, allocations: 88.92 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1295, allocations: 8.312 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1295, allocations: 4 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1296, allocations: 7.984 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1296, allocations: 8 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1297, allocations: 148.2 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1297, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.13, allocations: 20 kB / 487 MB, free: 13.96 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002108/0.1321, allocations: 1.104 MB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1323, allocations: 67.91 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1323, allocations: 0 / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/0.1324, allocations: 24 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1328, allocations: 34.23 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1346, allocations: 1.644 MB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1349, allocations: 0.7119 MB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.135, allocations: 17.17 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.135, allocations: 35.42 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.135, allocations: 0 / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.1624, allocations: 3.394 MB / 494 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.28, allocations: 6.562 kB / 494.1 MB, free: 7.043 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)