Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009267, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00743/0.007431, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.557/1.557, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3278/0.3278, allocations: 38.03 MB / 308.8 MB, free: 10.3 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.0005494/0.0005495, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.106, allocations: 57.52 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002183/0.1082, allocations: 1.397 MB / 436 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1095, allocations: 0.7767 MB / 436.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.1096, allocations: 3.938 kB / 436.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1099, allocations: 87.8 kB / 436.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1102, allocations: 67.8 kB / 436.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1104, allocations: 75.84 kB / 437 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1106, allocations: 99.69 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.1107, allocations: 16.22 kB / 437.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1108, allocations: 51.7 kB / 437.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1109, allocations: 59.81 kB / 437.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.111, allocations: 0 / 437.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.1111, allocations: 39.98 kB / 437.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.1111, allocations: 27.91 kB / 437.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.1112, allocations: 57.44 kB / 437.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.1114, allocations: 119.8 kB / 437.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1114, allocations: 0 / 437.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1114, allocations: 8 kB / 437.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1114, allocations: 0 / 437.4 MB, free: 2.301 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.000477/0.1119, allocations: 407 kB / 437.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1119, allocations: 12.03 kB / 437.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.112, allocations: 8.844 kB / 437.9 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1122, allocations: 211.9 kB / 438.1 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1122, allocations: 8.359 kB / 438.1 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1123, allocations: 12.12 kB / 438.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1124, allocations: 53.67 kB / 438.1 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1124, allocations: 0 / 438.1 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1124, allocations: 4 kB / 438.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1125, allocations: 4 kB / 438.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.1125, allocations: 23.86 kB / 438.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.1129, allocations: 292.8 kB / 438.5 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1131, allocations: 66.66 kB / 438.5 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.1132, allocations: 16.86 kB / 438.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1132, allocations: 3.938 kB / 438.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.1134, allocations: 71.3 kB / 438.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1134, allocations: 0 / 438.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005162/0.1139, allocations: 169.2 kB / 438.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.1141, allocations: 59.41 kB / 438.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1144, allocations: 218.7 kB / 439.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1144, allocations: 25.7 kB / 439.1 MB, free: 476 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1145, allocations: 108.1 kB / 439.2 MB, free: 364 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1145, allocations: 27.64 kB / 439.2 MB, free: 336 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.1145, allocations: 13.72 kB / 439.2 MB, free: 316 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003003/0.1148, allocations: 330.8 kB / 439.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1149, allocations: 19.98 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.115, allocations: 37.7 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1151, allocations: 65.64 kB / 439.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1151, allocations: 0 / 439.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1153, allocations: 101.4 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1153, allocations: 8 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1153, allocations: 0 / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1153, allocations: 4.031 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.1154, allocations: 16 kB / 439.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1154, allocations: 7.984 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.1155, allocations: 3.938 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1155, allocations: 4 kB / 439.8 MB, free: 15.7 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1156, allocations: 129.8 kB / 439.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1157, allocations: 11.81 kB / 439.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.1157, allocations: 17.59 kB / 440 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1157, allocations: 4 kB / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1157, allocations: 3.938 kB / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.1157, allocations: 7.922 kB / 440 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.1162, allocations: 395.7 kB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1162, allocations: 0 / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.1162, allocations: 15.94 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1162, allocations: 3.938 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1162, allocations: 7.938 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1162, allocations: 8.031 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1163, allocations: 3.984 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1165, allocations: 200.2 kB / 440.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1165, allocations: 89.02 kB / 440.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1166, allocations: 7.938 kB / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.1166, allocations: 3.984 kB / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1167, allocations: 11.94 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1167, allocations: 8 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1169, allocations: 168.3 kB / 440.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1169, allocations: 0 / 440.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1171, allocations: 28 kB / 440.9 MB, free: 14.48 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 (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.0009709/0.1181, allocations: 460.7 kB / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.1183, allocations: 59.91 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1183, allocations: 3.938 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.1183, allocations: 27.98 kB / 441.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1187, allocations: 23.98 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.1191, allocations: 297.9 kB / 441.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1194, allocations: 0.72 MB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.1195, allocations: 9.203 kB / 442.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1195, allocations: 19.42 kB / 442.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1196, allocations: 0 / 442.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of Templates: time 0.004192/0.1238, allocations: 1.642 MB / 444.2 MB, free: 11.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: