Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001394/0.001394, allocations: 106.4 kB / 16.27 MB, free: 6.34 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.001345/0.001345, allocations: 187.2 kB / 17.19 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 69.12 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09222, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002853/0.09512, allocations: 1.786 MB / 442.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.09624, allocations: 0.8701 MB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.09634, allocations: 7.938 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.09674, allocations: 291.4 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.09703, allocations: 215.3 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.09737, allocations: 142.7 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.0976, allocations: 239.4 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.09765, allocations: 13.83 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.09779, allocations: 127.6 kB / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.09795, allocations: 188 kB / 444.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.09799, allocations: 8 kB / 444.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.09809, allocations: 39.98 kB / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.09819, allocations: 132.5 kB / 444.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.09828, allocations: 142.8 kB / 444.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.09854, allocations: 358.7 kB / 445.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.09855, allocations: 4 kB / 445.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09856, allocations: 0 / 445.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.09857, allocations: 0 / 445.1 MB, free: 2.262 MB / 318.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.0006672/0.09924, allocations: 0.7152 MB / 445.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.09928, allocations: 11.89 kB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.09931, allocations: 38.73 kB / 445.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.09938, allocations: 44.38 kB / 446 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.09976, allocations: 447.7 kB / 446.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.09978, allocations: 8.375 kB / 446.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.0998, allocations: 11.92 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.09997, allocations: 83.31 kB / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.09998, allocations: 0 / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1, allocations: 0 / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1, allocations: 0 / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.1001, allocations: 27.97 kB / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.1004, allocations: 374.4 kB / 446.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1006, allocations: 109.1 kB / 447 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.1007, allocations: 41.7 kB / 447 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1007, allocations: 4 kB / 447 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1009, allocations: 109 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1009, allocations: 0 / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004756/0.1014, allocations: 205.1 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1015, allocations: 85.11 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.1028, allocations: 1.007 MB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1028, allocations: 25.7 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.103, allocations: 228.1 kB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.103, allocations: 27.64 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.1031, allocations: 33.7 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1033, allocations: 366.8 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.1033, allocations: 27.98 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.1034, allocations: 59.41 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1036, allocations: 87.36 kB / 449.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1036, allocations: 3.938 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000295/0.1039, allocations: 176.9 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.104, allocations: 4 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.104, allocations: 4 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.104, allocations: 0 / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1041, allocations: 19.98 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1041, allocations: 4 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.1042, allocations: 4 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1042, allocations: 4 kB / 449.5 MB, free: 13.62 MB / 334.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.0001949/0.1044, allocations: 234.1 kB / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.1045, allocations: 51.34 kB / 449.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.1046, allocations: 59.78 kB / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1046, allocations: 4 kB / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1046, allocations: 4 kB / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1046, allocations: 0 / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1049, allocations: 337.3 kB / 450.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1049, allocations: 0 / 450.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1049, allocations: 11.98 kB / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.105, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.105, allocations: 4 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.105, allocations: 4 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.105, allocations: 0 / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1053, allocations: 213.1 kB / 450.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1055, allocations: 132.5 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1055, allocations: 4 kB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1056, allocations: 0 / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1056, allocations: 15.98 kB / 450.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1057, allocations: 8 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000784/0.1065, allocations: 0.7448 MB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1065, allocations: 0 / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1067, allocations: 43.94 kB / 451.3 MB, free: 11.68 MB / 334.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.001392/0.1081, allocations: 1.057 MB / 452.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1084, allocations: 87.89 kB / 452.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1084, allocations: 0 / 452.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1085, allocations: 39.92 kB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1089, allocations: 71.7 kB / 452.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.114, allocations: 4.529 MB / 457.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1144, allocations: 0.8427 MB / 458 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.1146, allocations: 55.45 kB / 458 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.1148, allocations: 147.4 kB / 458.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1148, allocations: 0 / 458.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.1439, allocations: 8.607 MB / 466.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.202, allocations: 0 / 466.8 MB, free: 12.14 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)