Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001332, allocations: 99.62 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.001473/0.001473, allocations: 177.3 kB / 15.95 MB, free: 216 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.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2913/0.2913, allocations: 40 MB / 310.4 MB, free: 9.938 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.0009617/0.000962, allocations: 19.98 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.113, allocations: 57.96 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002212/0.1152, allocations: 1.448 MB / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1175, allocations: 1.375 MB / 439.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1177, allocations: 4 kB / 439.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.1181, allocations: 39.81 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.1184, allocations: 75.72 kB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1188, allocations: 131.7 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.119, allocations: 115.7 kB / 440 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.1191, allocations: 13.55 kB / 440 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1192, allocations: 63.69 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1194, allocations: 51.77 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1194, allocations: 4 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1195, allocations: 47.86 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1196, allocations: 27.89 kB / 440.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.1197, allocations: 45.64 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.1199, allocations: 128 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1199, allocations: 0 / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1199, allocations: 0 / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1199, allocations: 0 / 440.3 MB, free: 15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005802/0.1205, allocations: 450.5 kB / 440.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1205, allocations: 8.031 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1206, allocations: 15.81 kB / 440.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1209, allocations: 234.7 kB / 441 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1209, allocations: 12 kB / 441 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.121, allocations: 4 kB / 441 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1212, allocations: 101 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1212, allocations: 0 / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1212, allocations: 0 / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1212, allocations: 7.953 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1213, allocations: 31.92 kB / 441.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.1216, allocations: 218.5 kB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1219, allocations: 101.3 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1219, allocations: 4 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1222, allocations: 117 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1222, allocations: 0 / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004205/0.1226, allocations: 161.4 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.1227, allocations: 136.5 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1229, allocations: 219.8 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.123, allocations: 25.7 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.123, allocations: 112.1 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.1231, allocations: 31.64 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.1231, allocations: 0 / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1232, allocations: 330.8 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.1233, allocations: 31.98 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1234, allocations: 69.14 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.553e-05/0.1235, allocations: 36.42 kB / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1235, allocations: 0 / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002521/0.1238, allocations: 133.4 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1238, allocations: 4.094 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1238, allocations: 8 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1238, allocations: 0 / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.124, allocations: 23.92 kB / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.124, allocations: 7.953 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.1241, allocations: 15.89 kB / 442.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1241, allocations: 4 kB / 442.9 MB, free: 12.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001124/0.1242, allocations: 129.8 kB / 443.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.1243, allocations: 19.8 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.1243, allocations: 25 kB / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1243, allocations: 0 / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1243, allocations: 0 / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1243, allocations: 3.953 kB / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.1245, allocations: 217.5 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1245, allocations: 4 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.1246, allocations: 7.938 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1246, allocations: 0 / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1246, allocations: 7.938 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1246, allocations: 3.984 kB / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1246, allocations: 4 kB / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1249, allocations: 183.3 kB / 443.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.125, allocations: 100.9 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.125, allocations: 0 / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.1251, allocations: 11.98 kB / 443.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1251, allocations: 15.95 kB / 443.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.1252, allocations: 16.09 kB / 443.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1253, allocations: 157.5 kB / 443.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1253, allocations: 0 / 443.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1256, allocations: 35.98 kB / 443.9 MB, free: 11.07 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00094/0.1265, allocations: 452.8 kB / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1268, allocations: 83.84 kB / 444.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1268, allocations: 0 / 444.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1269, allocations: 43.91 kB / 444.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1272, allocations: 39.97 kB / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.1277, allocations: 283.1 kB / 444.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.128, allocations: 0.7243 MB / 445.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.912e-05/0.1281, allocations: 29.52 kB / 445.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.1282, allocations: 31.42 kB / 445.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1282, allocations: 0 / 445.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of Templates: time 0.005856/0.134, allocations: 2.45 MB / 448 MB, free: 6.941 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) Environment - environmentSimulation: