Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.0009173/0.0009174, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001031/0.001031, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.281/1.281, allocations: 223.3 MB / 242.3 MB, free: 196 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.1744/0.1744, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001838/0.1023, allocations: 1.503 MB / 473.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1036, allocations: 0.9278 MB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.1037, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.1041, allocations: 307.4 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1044, allocations: 199.5 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1047, allocations: 150.9 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.105, allocations: 231.4 kB / 475.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.105, allocations: 13.55 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1052, allocations: 119.6 kB / 475.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1054, allocations: 191.4 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1054, allocations: 4 kB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.1055, allocations: 43.97 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1056, allocations: 127.6 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1058, allocations: 168.5 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1061, allocations: 362.8 kB / 476.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1061, allocations: 3.938 kB / 476.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1061, allocations: 0 / 476.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1061, allocations: 0 / 476.7 MB, free: 8.898 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.0007353/0.1069, allocations: 0.6594 MB / 477.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1069, allocations: 12.03 kB / 477.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.107, allocations: 34.75 kB / 477.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.107, allocations: 56.27 kB / 477.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.1075, allocations: 447.8 kB / 477.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1075, allocations: 384 / 477.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1075, allocations: 7.938 kB / 477.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1077, allocations: 91.28 kB / 478 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1077, allocations: 0 / 478 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1077, allocations: 4 kB / 478 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1077, allocations: 0 / 478 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1079, allocations: 35.91 kB / 478 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.1082, allocations: 374.4 kB / 478.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1084, allocations: 109.2 kB / 478.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.1085, allocations: 45.7 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.1086, allocations: 3.938 kB / 478.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.1088, allocations: 105.1 kB / 478.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1088, allocations: 0 / 478.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004337/0.1092, allocations: 201.4 kB / 478.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1093, allocations: 77.11 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/0.1102, allocations: 1.034 MB / 479.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1103, allocations: 29.7 kB / 480 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1104, allocations: 232.1 kB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1105, allocations: 27.64 kB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1105, allocations: 17.72 kB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1107, allocations: 366.8 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.1107, allocations: 35.92 kB / 480.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.1108, allocations: 59.41 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.111, allocations: 87.42 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.111, allocations: 3.938 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00027/0.1113, allocations: 172.9 kB / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1113, allocations: 4 kB / 481 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1113, allocations: 0 / 481 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1113, allocations: 7.938 kB / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1115, allocations: 27.92 kB / 481 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1115, allocations: 4 kB / 481 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.1116, allocations: 7.906 kB / 481 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1116, allocations: 4.062 kB / 481 MB, free: 4.277 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.0001905/0.1118, allocations: 233.6 kB / 481.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.1118, allocations: 47.34 kB / 481.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.1119, allocations: 60 kB / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.1119, allocations: 0 / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1119, allocations: 4 kB / 481.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1119, allocations: 3.938 kB / 481.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1122, allocations: 345.4 kB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1122, allocations: 0 / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1123, allocations: 7.938 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1123, allocations: 8 kB / 481.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1123, allocations: 3.984 kB / 481.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1123, allocations: 0 / 481.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1123, allocations: 4.125 kB / 481.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1126, allocations: 205.2 kB / 481.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1127, allocations: 140.5 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.1128, allocations: 12 kB / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.1129, allocations: 4 kB / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1129, allocations: 7.984 kB / 482.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.1129, allocations: 8 kB / 482.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007247/0.1136, allocations: 0.7721 MB / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1137, allocations: 0 / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1139, allocations: 44 kB / 482.9 MB, free: 2.289 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.001305/0.1152, allocations: 1.05 MB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1154, allocations: 83.84 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1155, allocations: 0 / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.1156, allocations: 48.03 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.116, allocations: 62.27 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.1211, allocations: 4.707 MB / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1215, allocations: 0.8391 MB / 489.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.1217, allocations: 62.94 kB / 489.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.1219, allocations: 147.4 kB / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1219, allocations: 0 / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.1405, allocations: 8.183 MB / 498.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.1407, allocations: 243.9 kB / 498.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.886, allocations: 0 / 498.3 MB, free: 2.984 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)