Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008734/0.0008734, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 222.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2797/0.2797, allocations: 40.01 MB / 310.4 MB, free: 9.828 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005274/0.0005274, allocations: 16 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 57.95 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001759/0.1056, allocations: 1.378 MB / 438.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.1066, allocations: 0.7344 MB / 438.9 MB, free: 160 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.1067, allocations: 4 kB / 438.9 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.107, allocations: 31.83 kB / 438.9 MB, free: 124 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1071, allocations: 39.89 kB / 439 MB, free: 84 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1074, allocations: 79.77 kB / 439 MB, free: 4 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1076, allocations: 59.86 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1077, allocations: 16.2 kB / 439.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.1078, allocations: 35.84 kB / 439.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.1079, allocations: 23.86 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1079, allocations: 0 / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.108, allocations: 35.92 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.108, allocations: 19.91 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1081, allocations: 37.64 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1083, allocations: 80.11 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1083, allocations: 0 / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1083, allocations: 4 kB / 439.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1083, allocations: 0 / 439.3 MB, free: 15.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005263/0.1088, allocations: 402.8 kB / 439.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1089, allocations: 15.97 kB / 439.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.1089, allocations: 7.906 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1092, allocations: 202.9 kB / 440 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1092, allocations: 0 / 440 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1092, allocations: 8 kB / 440 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1094, allocations: 61.61 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1094, allocations: 0 / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1094, allocations: 4 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1094, allocations: 3.953 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.1095, allocations: 19.98 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1099, allocations: 277 kB / 440.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.11, allocations: 62.61 kB / 440.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1101, allocations: 0 / 440.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1103, allocations: 71.38 kB / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1103, allocations: 0 / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004891/0.1108, allocations: 173.3 kB / 440.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1108, allocations: 55.41 kB / 440.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.111, allocations: 190.1 kB / 440.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.111, allocations: 25.7 kB / 440.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1111, allocations: 104.1 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1111, allocations: 19.72 kB / 441 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.1111, allocations: 0 / 441 MB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1112, allocations: 326.8 kB / 441.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.1113, allocations: 19.98 kB / 441.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.1113, allocations: 37.64 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.1114, allocations: 28 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1114, allocations: 0 / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001677/0.1116, allocations: 101.5 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1116, allocations: 7.953 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1116, allocations: 0 / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1116, allocations: 0 / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.1117, allocations: 19.94 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1117, allocations: 0 / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.1118, allocations: 12.02 kB / 441.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1118, allocations: 4 kB / 441.6 MB, free: 13.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/0.1119, allocations: 125.8 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.1119, allocations: 12.09 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.112, allocations: 20.66 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.112, allocations: 3.938 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.112, allocations: 0 / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.112, allocations: 0 / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1124, allocations: 407.3 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1124, allocations: 0 / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1125, allocations: 16.3 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1125, allocations: 0 / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1125, allocations: 8 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1125, allocations: 0 / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1125, allocations: 0 / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1127, allocations: 218 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1128, allocations: 96.91 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1128, allocations: 0 / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1129, allocations: 4 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1129, allocations: 11.98 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1129, allocations: 4 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.113, allocations: 144 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.113, allocations: 4 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1133, allocations: 27.98 kB / 442.6 MB, free: 12.06 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009751/0.1143, allocations: 460.2 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1145, allocations: 59.92 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1145, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.1145, allocations: 23.98 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.1148, allocations: 31.92 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1153, allocations: 238.4 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1155, allocations: 0.7082 MB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.1156, allocations: 13.19 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.1156, allocations: 23.42 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1157, allocations: 0 / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Templates: time 0.003829/0.1195, allocations: 1.579 MB / 445.7 MB, free: 8.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: