Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008643/0.0008646, allocations: 172.7 kB / 15.95 MB, free: 208 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.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2739/0.2739, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.1. 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.0005577/0.0005577, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09986, allocations: 57.53 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001791/0.1017, allocations: 1.37 MB / 435.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.1027, allocations: 0.7343 MB / 436.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.1028, allocations: 0 / 436.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.103, allocations: 43.83 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1031, allocations: 39.83 kB / 436.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1033, allocations: 75.84 kB / 436.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.1035, allocations: 83.7 kB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.43e-05/0.1035, allocations: 16.19 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.1036, allocations: 35.8 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.1037, allocations: 31.84 kB / 436.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1037, allocations: 4 kB / 436.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.1038, allocations: 39.92 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.1038, allocations: 15.92 kB / 436.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.1039, allocations: 37.7 kB / 436.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.104, allocations: 84.03 kB / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.104, allocations: 0 / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.104, allocations: 4 kB / 436.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.104, allocations: 0 / 436.6 MB, free: 2.922 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004016/0.1044, allocations: 398.9 kB / 437 MB, free: 2.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1045, allocations: 12.03 kB / 437 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1045, allocations: 15.77 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1047, allocations: 206.9 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1047, allocations: 0 / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1048, allocations: 4 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1049, allocations: 53.67 kB / 437.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1049, allocations: 0 / 437.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1049, allocations: 0 / 437.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1049, allocations: 3.938 kB / 437.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.105, allocations: 31.88 kB / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1053, allocations: 277 kB / 437.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1055, allocations: 58.67 kB / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.1055, allocations: 16.86 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1056, allocations: 7.938 kB / 437.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.1057, allocations: 71.39 kB / 437.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1057, allocations: 0 / 437.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004454/0.1062, allocations: 173.2 kB / 437.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1062, allocations: 51.41 kB / 437.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1064, allocations: 182.2 kB / 438.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1064, allocations: 29.7 kB / 438.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1064, allocations: 112.1 kB / 438.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1065, allocations: 19.72 kB / 438.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1065, allocations: 0 / 438.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1066, allocations: 322.8 kB / 438.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.1066, allocations: 19.98 kB / 438.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.1067, allocations: 41.64 kB / 438.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.1068, allocations: 27.92 kB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1068, allocations: 4 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001676/0.107, allocations: 101.5 kB / 438.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.107, allocations: 7.953 kB / 438.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.107, allocations: 4 kB / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.107, allocations: 0 / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.1071, allocations: 15.94 kB / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1071, allocations: 0 / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.1071, allocations: 7.984 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1072, allocations: 4 kB / 438.8 MB, free: 472 kB / 366.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.3e-05/0.1072, allocations: 126.9 kB / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1073, allocations: 7.906 kB / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.1073, allocations: 24.66 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1073, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1073, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1073, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1077, allocations: 387.5 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1077, allocations: 11.98 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1078, allocations: 11.92 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1078, allocations: 4 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1078, allocations: 0 / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1078, allocations: 80 / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.1078, allocations: 15.91 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.108, allocations: 200.2 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.1081, allocations: 92.95 kB / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1081, allocations: 4 kB / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.1082, allocations: 4.375 kB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1082, allocations: 7.984 kB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1082, allocations: 8 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1083, allocations: 140.1 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1083, allocations: 0 / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1086, allocations: 27.98 kB / 439.9 MB, free: 15.3 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.0009029/0.1095, allocations: 472.8 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.1097, allocations: 55.91 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1097, allocations: 4.062 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/0.1097, allocations: 35.92 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.11, allocations: 23.97 kB / 440.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.1104, allocations: 234.4 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1107, allocations: 0.7004 MB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.1107, allocations: 17.17 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.1107, allocations: 19.44 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1107, allocations: 0 / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of Templates: time 0.003572/0.1143, allocations: 1.599 MB / 443 MB, free: 12.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: