Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009009/0.0009044, allocations: 99.86 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.001312/0.001312, 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.285/1.285, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.2911/0.2911, allocations: 40 MB / 310.4 MB, free: 9.789 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.0004984/0.0004986, allocations: 16 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 57.95 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001978/0.1093, allocations: 1.343 MB / 438.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1105, allocations: 0.7227 MB / 438.8 MB, free: 208 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.1106, allocations: 0 / 438.8 MB, free: 208 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1109, allocations: 59.78 kB / 438.9 MB, free: 148 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.1111, allocations: 55.86 kB / 438.9 MB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1113, allocations: 63.8 kB / 439 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1115, allocations: 63.84 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.1116, allocations: 11.98 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.1117, allocations: 43.83 kB / 439.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.1118, allocations: 35.84 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1118, allocations: 0 / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.1119, allocations: 19.98 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.1119, allocations: 15.92 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.112, allocations: 33.7 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1121, allocations: 80.05 kB / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1121, allocations: 0 / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1121, allocations: 7.938 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1122, allocations: 0 / 439.3 MB, free: 15.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004794/0.1126, allocations: 402.8 kB / 439.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1127, allocations: 8.031 kB / 439.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1127, allocations: 7.906 kB / 439.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.113, allocations: 194.9 kB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.113, allocations: 3.984 kB / 439.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.113, allocations: 4 kB / 439.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1132, allocations: 53.67 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1132, allocations: 0 / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1132, allocations: 3.984 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1132, allocations: 7.953 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.1133, allocations: 15.94 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.1135, allocations: 181.7 kB / 440.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1136, allocations: 50.61 kB / 440.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1137, allocations: 4 kB / 440.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1138, allocations: 67.42 kB / 440.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.1139, allocations: 0 / 440.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002565/0.1141, allocations: 93.52 kB / 440.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.1142, allocations: 59.36 kB / 440.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1144, allocations: 178.2 kB / 440.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1144, allocations: 29.7 kB / 440.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.1145, allocations: 104.1 kB / 440.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1145, allocations: 11.81 kB / 440.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1145, allocations: 4 kB / 440.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1146, allocations: 322.8 kB / 441.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.1147, allocations: 15.98 kB / 441.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.1148, allocations: 25.7 kB / 441.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.1148, allocations: 27.92 kB / 441.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1148, allocations: 0 / 441.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001481/0.115, allocations: 73.59 kB / 441.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.115, allocations: 8 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.115, allocations: 0 / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.115, allocations: 0 / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.1151, allocations: 11.94 kB / 441.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1151, allocations: 7.984 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1152, allocations: 7.859 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1152, allocations: 4.031 kB / 441.3 MB, free: 13.54 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 (7): * Single equations (assignments): 7 * 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.954e-05/0.1153, allocations: 133.5 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.1153, allocations: 7.906 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.1153, allocations: 12.3 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1154, allocations: 4 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1154, allocations: 3.938 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1154, allocations: 0 / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1155, allocations: 185.5 kB / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1155, allocations: 4 kB / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.1155, allocations: 3.984 kB / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1155, allocations: 8.312 kB / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1156, allocations: 0 / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1156, allocations: 4 kB / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1156, allocations: 0 / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1158, allocations: 112.9 kB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1158, allocations: 92.86 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1158, allocations: 4 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.1159, allocations: 11.98 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1159, allocations: 0 / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1159, allocations: 4 kB / 441.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1161, allocations: 144 kB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1161, allocations: 0 / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1163, allocations: 20 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008265/0.1171, allocations: 405.9 kB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1173, allocations: 47.92 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1173, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.1173, allocations: 19.98 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.1176, allocations: 23.94 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.1179, allocations: 213.1 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1182, allocations: 0.7004 MB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.776e-05/0.1182, allocations: 12.55 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.1183, allocations: 19.42 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1183, allocations: 0 / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Templates: time 0.003703/0.122, allocations: 1.379 MB / 444.8 MB, free: 9.871 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: