Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007349/0.0007349, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000772/0.000772, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1914/0.1914, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09591, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001978/0.09793, allocations: 1.511 MB / 473.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.0994, allocations: 0.9201 MB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.09951, allocations: 7.938 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.09999, allocations: 307.4 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1003, allocations: 187.5 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1007, allocations: 151.6 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1011, allocations: 243.4 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1011, allocations: 9.547 kB / 475.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1013, allocations: 115.6 kB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1015, allocations: 191.4 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1016, allocations: 4 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1017, allocations: 43.97 kB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1018, allocations: 131.6 kB / 476.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.102, allocations: 176.4 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1023, allocations: 354.9 kB / 476.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1023, allocations: 0 / 476.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1023, allocations: 4 kB / 476.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1024, allocations: 0 / 476.7 MB, free: 8.914 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008177/0.1032, allocations: 0.6611 MB / 477.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1032, allocations: 8.031 kB / 477.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1033, allocations: 34.75 kB / 477.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.1034, allocations: 52.28 kB / 477.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.1039, allocations: 447.8 kB / 477.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1039, allocations: 8.375 kB / 477.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1039, allocations: 7.938 kB / 477.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1041, allocations: 87.28 kB / 478 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1041, allocations: 4 kB / 478 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1042, allocations: 4 kB / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1042, allocations: 0 / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1043, allocations: 27.92 kB / 478 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1046, allocations: 382.4 kB / 478.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1049, allocations: 109.1 kB / 478.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.105, allocations: 41.69 kB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.105, allocations: 4 kB / 478.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1053, allocations: 105.1 kB / 478.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1053, allocations: 0 / 478.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004397/0.1057, allocations: 200.9 kB / 478.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1058, allocations: 85.11 kB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.1068, allocations: 1.038 MB / 479.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1069, allocations: 25.7 kB / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1071, allocations: 228.1 kB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.1071, allocations: 31.64 kB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1072, allocations: 17.7 kB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1073, allocations: 370.8 kB / 480.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.1074, allocations: 27.98 kB / 480.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.1075, allocations: 55.42 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1077, allocations: 87.34 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1077, allocations: 7.938 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002986/0.108, allocations: 169 kB / 480.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1081, allocations: 10.44 kB / 481 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1081, allocations: 4 kB / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1081, allocations: 0 / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1082, allocations: 23.92 kB / 481 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1082, allocations: 4 kB / 481 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.907e-05/0.1083, allocations: 11.89 kB / 481 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1083, allocations: 4 kB / 481 MB, free: 4.293 MB / 350.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.0001999/0.1086, allocations: 233.7 kB / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1086, allocations: 51.97 kB / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.1087, allocations: 56 kB / 481.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1087, allocations: 4 kB / 481.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1087, allocations: 0 / 481.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1087, allocations: 3.938 kB / 481.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.109, allocations: 345.4 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.109, allocations: 4 kB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.1091, allocations: 11.94 kB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1091, allocations: 0 / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1091, allocations: 8 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1091, allocations: 4 kB / 481.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1091, allocations: 0 / 481.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1094, allocations: 205.2 kB / 481.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1095, allocations: 136.5 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.1096, allocations: 7.984 kB / 482 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.1097, allocations: 8 kB / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1097, allocations: 11.98 kB / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1097, allocations: 4 kB / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007072/0.1104, allocations: 0.7721 MB / 482.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1104, allocations: 0 / 482.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1107, allocations: 44 kB / 482.9 MB, free: 2.305 MB / 350.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.001338/0.112, allocations: 1.052 MB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1123, allocations: 87.78 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1123, allocations: 0 / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.419e-05/0.1124, allocations: 35.98 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.1128, allocations: 74.38 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.1182, allocations: 4.707 MB / 488.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1186, allocations: 0.8391 MB / 489.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.1188, allocations: 59.44 kB / 489.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.119, allocations: 143.4 kB / 489.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.119, allocations: 4 kB / 489.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.138, allocations: 8.179 MB / 498.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.1383, allocations: 249.6 kB / 498.3 MB, free: 3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.909, allocations: 0 / 498.3 MB, free: 3 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)