Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001278, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.7 MB / 246.8 MB, free: 9.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002097/0.1094, allocations: 1.54 MB / 484.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1113, allocations: 1.075 MB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1114, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1119, allocations: 291.4 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.1124, allocations: 231.4 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1127, allocations: 87.8 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.113, allocations: 247.4 kB / 486.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.1131, allocations: 13.67 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.1133, allocations: 123.4 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1136, allocations: 192 kB / 487 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1136, allocations: 4 kB / 487 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1138, allocations: 39.98 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1139, allocations: 144.4 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1141, allocations: 164.5 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1145, allocations: 354.8 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1146, allocations: 4 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1146, allocations: 0 / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1146, allocations: 0 / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001025/0.1156, allocations: 0.6688 MB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1157, allocations: 12.88 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.1157, allocations: 30.75 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1159, allocations: 56.28 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.1165, allocations: 443.9 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1166, allocations: 4.375 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1166, allocations: 7.938 kB / 488.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1168, allocations: 91.28 kB / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1168, allocations: 0 / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1169, allocations: 0 / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1169, allocations: 4 kB / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.117, allocations: 31.97 kB / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1175, allocations: 378.3 kB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1177, allocations: 105.1 kB / 489.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.1178, allocations: 37.7 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1179, allocations: 8 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1181, allocations: 109 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1181, allocations: 0 / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004777/0.1186, allocations: 197.3 kB / 489.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1187, allocations: 81.11 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.1198, allocations: 1.026 MB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1198, allocations: 33.64 kB / 490.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.12, allocations: 232.1 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.12, allocations: 27.66 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1201, allocations: 17.7 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1203, allocations: 366.8 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.1204, allocations: 31.98 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.1205, allocations: 55.42 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1207, allocations: 91.47 kB / 491.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1207, allocations: 3.938 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003028/0.121, allocations: 172.9 kB / 491.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.121, allocations: 4 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.121, allocations: 7.922 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.121, allocations: 4 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1212, allocations: 20 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1212, allocations: 4 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1213, allocations: 7.984 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1213, allocations: 4 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002158/0.1215, allocations: 237.7 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.1216, allocations: 47.34 kB / 492.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.1217, allocations: 60.09 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1217, allocations: 0 / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1217, allocations: 0 / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1217, allocations: 4 kB / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1221, allocations: 349.2 kB / 492.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1221, allocations: 0 / 492.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.1221, allocations: 8 kB / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1221, allocations: 0 / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1221, allocations: 15.98 kB / 492.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1221, allocations: 4.125 kB / 492.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1221, allocations: 0 / 492.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1225, allocations: 197.3 kB / 492.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.1226, allocations: 148.4 kB / 493 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1227, allocations: 0 / 493 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.1227, allocations: 8 kB / 493 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1228, allocations: 11.98 kB / 493 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1228, allocations: 8 kB / 493 MB, free: 9.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007361/0.1236, allocations: 0.7643 MB / 493.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1236, allocations: 7.938 kB / 493.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1238, allocations: 40 kB / 493.9 MB, free: 8.949 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001358/0.1252, allocations: 1.037 MB / 494.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1254, allocations: 79.91 kB / 495 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1255, allocations: 0 / 495 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1256, allocations: 43.91 kB / 495 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.126, allocations: 70.39 kB / 495.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.1318, allocations: 4.653 MB / 499.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1321, allocations: 0.8467 MB / 0.4889 GB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1323, allocations: 54.94 kB / 0.4889 GB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.1325, allocations: 151.4 kB / 0.4891 GB, free: 1.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1325, allocations: 4 kB / 0.4891 GB, free: 1.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.1513, allocations: 8.174 MB / 0.497 GB, free: 9.926 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.1515, allocations: 232.2 kB / 0.4973 GB, free: 9.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.039, allocations: 0 / 0.4973 GB, free: 9.672 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)