Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, 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.0009884/0.0009885, 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.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.271/0.271, allocations: 40 MB / 310.4 MB, free: 9.945 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.0005415/0.0005418, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09814, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001756/0.09993, allocations: 1.378 MB / 438.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.101, allocations: 0.7421 MB / 438.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.1011, allocations: 0 / 438.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1014, allocations: 91.72 kB / 439 MB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1016, allocations: 75.83 kB / 439.1 MB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1019, allocations: 83.77 kB / 439.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.102, allocations: 67.84 kB / 439.2 MB, free: 156 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.1021, allocations: 12.22 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.1022, allocations: 47.81 kB / 439.3 MB, free: 96 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.1023, allocations: 43.84 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1023, allocations: 4 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.1024, allocations: 31.92 kB / 439.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1025, allocations: 27.91 kB / 439.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.1025, allocations: 37.64 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1027, allocations: 100.1 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1027, allocations: 0 / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1027, allocations: 0 / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1027, allocations: 0 / 439.5 MB, free: 15.85 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.0004513/0.1031, allocations: 418.6 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1032, allocations: 12.03 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1032, allocations: 15.84 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1034, allocations: 211.6 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1035, allocations: 4 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1035, allocations: 0 / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1036, allocations: 53.67 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1036, allocations: 0 / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1037, allocations: 7.938 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1037, allocations: 3.953 kB / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.1037, allocations: 15.98 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1041, allocations: 300.9 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1042, allocations: 50.67 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1043, allocations: 4 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1044, allocations: 75.41 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1044, allocations: 0 / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004737/0.1049, allocations: 173.2 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.105, allocations: 59.34 kB / 440.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1052, allocations: 242.1 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1052, allocations: 25.7 kB / 441.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.1053, allocations: 112 kB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1053, allocations: 19.8 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.1053, allocations: 4 kB / 441.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.1054, allocations: 326.8 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.1055, allocations: 23.98 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.1056, allocations: 33.7 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.1056, allocations: 20 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1056, allocations: 0 / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.1058, allocations: 117.3 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1058, allocations: 11.98 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1058, allocations: 0 / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1059, allocations: 4 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.1059, allocations: 12 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.106, allocations: 0 / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.106, allocations: 7.984 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.106, allocations: 0 / 441.8 MB, free: 13.3 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 0.000105/0.1061, allocations: 141.8 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1062, allocations: 15.81 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.1062, allocations: 21.36 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1062, allocations: 4.375 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1062, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1062, allocations: 3.984 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.1067, allocations: 403.4 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1067, allocations: 0 / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1067, allocations: 8.188 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1067, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1067, allocations: 11.95 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1067, allocations: 80 / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1068, allocations: 3.984 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.107, allocations: 221.8 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.107, allocations: 88.92 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1071, allocations: 11.98 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1071, allocations: 4 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1072, allocations: 4 kB / 442.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1072, allocations: 3.984 kB / 442.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1073, allocations: 188.3 kB / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1074, allocations: 0 / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1076, allocations: 24 kB / 443 MB, free: 12.05 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.000928/0.1085, allocations: 468.1 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1087, allocations: 59.91 kB / 443.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1087, allocations: 0 / 443.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.1088, allocations: 23.94 kB / 443.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1091, allocations: 36.23 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.1095, allocations: 286.6 kB / 443.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1098, allocations: 0.716 MB / 444.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.398e-05/0.1099, allocations: 17.17 kB / 444.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1099, allocations: 15.44 kB / 444.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1099, allocations: 0 / 444.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Templates: time 0.003916/0.1138, allocations: 1.606 MB / 446.2 MB, free: 8.812 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) Environment - environmentSimulation: