Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.001386, 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.001423/0.001423, 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.462/1.462, 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.2226/0.2226, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.002351/0.002351, allocations: 80.19 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1161, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003728/0.1198, allocations: 1.939 MB / 482.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1218, allocations: 1.056 MB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1219, allocations: 3.938 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1223, allocations: 55.69 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.1226, allocations: 91.55 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1229, allocations: 95.64 kB / 483.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1231, allocations: 139.6 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1233, allocations: 37.41 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1234, allocations: 51.78 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.1235, allocations: 59.64 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1235, allocations: 8 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1237, allocations: 43.98 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.1237, allocations: 23.92 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.1238, allocations: 51.67 kB / 483.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1241, allocations: 155.7 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1241, allocations: 0 / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1241, allocations: 0 / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1241, allocations: 3.938 kB / 484 MB, free: 1.332 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006619/0.1248, allocations: 480.5 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1248, allocations: 12.03 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.1249, allocations: 38.73 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.1249, allocations: 16.75 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1252, allocations: 237.5 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1252, allocations: 4.375 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1253, allocations: 15.92 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1255, allocations: 107 kB / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1255, allocations: 0 / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1255, allocations: 3.984 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1256, allocations: 4 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1257, allocations: 51.91 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.1264, allocations: 0.5087 MB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.1267, allocations: 86.66 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.1268, allocations: 40.83 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1268, allocations: 4 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1271, allocations: 87.25 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1271, allocations: 0 / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004315/0.1275, allocations: 149.3 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1276, allocations: 59.39 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1278, allocations: 198.2 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1278, allocations: 25.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.1279, allocations: 124 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1279, allocations: 27.61 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.128, allocations: 25.72 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1281, allocations: 330.8 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1282, allocations: 31.98 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1284, allocations: 60.27 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.1286, allocations: 104.2 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1286, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003005/0.1289, allocations: 137.7 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1289, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.1289, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.129, allocations: 4.031 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1291, allocations: 32.05 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1291, allocations: 0 / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.1292, allocations: 19.92 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1292, allocations: 4 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001527/0.1294, allocations: 128.3 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.1294, allocations: 19.75 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.1295, allocations: 17.39 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1295, allocations: 3.938 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1295, allocations: 0 / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1295, allocations: 4 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.1298, allocations: 213.5 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1298, allocations: 0 / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.1299, allocations: 15.98 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1299, allocations: 0 / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1299, allocations: 4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.1299, allocations: 3.938 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1299, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.1304, allocations: 184.8 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.1305, allocations: 88.98 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1305, allocations: 3.938 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1306, allocations: 15.92 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1307, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1307, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1308, allocations: 144.4 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1309, allocations: 0 / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1311, allocations: 32.05 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002299/0.1334, allocations: 1.013 MB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1338, allocations: 91.83 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1338, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1339, allocations: 35.98 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1343, allocations: 41.7 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1365, allocations: 1.733 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1369, allocations: 0.7238 MB / 491.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.137, allocations: 21.41 kB / 491.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.1371, allocations: 51.36 kB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1371, allocations: 0 / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.1641, allocations: 3.733 MB / 495.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.247, allocations: 11.86 kB / 495.3 MB, free: 5.711 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)