Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 99.23 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.0009522/0.0009523, 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.29/1.29, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.273/0.273, allocations: 40.01 MB / 310.4 MB, free: 9.617 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.0004966/0.0004967, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09249, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.001997/0.09452, allocations: 1.57 MB / 438.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.09574, allocations: 0.7733 MB / 439.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.09586, allocations: 3.938 kB / 439.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.09613, allocations: 31.83 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.09633, allocations: 47.83 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.0966, allocations: 87.81 kB / 439.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.09679, allocations: 87.77 kB / 439.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.09691, allocations: 29.47 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.09701, allocations: 51.77 kB / 439.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.09709, allocations: 31.8 kB / 439.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.09711, allocations: 4 kB / 439.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.0972, allocations: 31.92 kB / 439.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.09726, allocations: 27.84 kB / 439.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.09732, allocations: 41.64 kB / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.09751, allocations: 112 kB / 439.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.09752, allocations: 0 / 439.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09753, allocations: 3.938 kB / 439.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09754, allocations: 0 / 439.7 MB, free: 15.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007103/0.09826, allocations: 460.4 kB / 440.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.0983, allocations: 8.031 kB / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.09837, allocations: 19.81 kB / 440.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.09864, allocations: 223.5 kB / 440.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.09867, allocations: 8 kB / 440.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.09869, allocations: 7.938 kB / 440.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.09893, allocations: 108.2 kB / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.09894, allocations: 0 / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.09896, allocations: 0 / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.09898, allocations: 7.953 kB / 440.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.09912, allocations: 55.91 kB / 440.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.09967, allocations: 0.5048 MB / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.09999, allocations: 90.66 kB / 441.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1, allocations: 0 / 441.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.1003, allocations: 87.31 kB / 441.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1003, allocations: 0 / 441.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003804/0.1007, allocations: 145.4 kB / 441.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1007, allocations: 55.41 kB / 441.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1009, allocations: 191.5 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1009, allocations: 33.7 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.101, allocations: 112 kB / 441.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.101, allocations: 27.77 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.101, allocations: 0 / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1012, allocations: 330.8 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1013, allocations: 32.11 kB / 442.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.1014, allocations: 64.28 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.1015, allocations: 44.23 kB / 442.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1015, allocations: 0 / 442.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002597/0.1017, allocations: 149.3 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1018, allocations: 8 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1018, allocations: 0 / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1018, allocations: 0 / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.1019, allocations: 27.92 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.1019, allocations: 4 kB / 442.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.102, allocations: 16.05 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.102, allocations: 7.984 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 9.616e-05/0.1021, allocations: 125.8 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1021, allocations: 15.77 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1022, allocations: 21.39 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1022, allocations: 4 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1022, allocations: 4 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1022, allocations: 3.938 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1024, allocations: 205.6 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1024, allocations: 4 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.1025, allocations: 19.92 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1025, allocations: 3.953 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1025, allocations: 0 / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1025, allocations: 0 / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1025, allocations: 0 / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.1028, allocations: 188.8 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.1029, allocations: 101.1 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1029, allocations: 3.953 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.103, allocations: 11.92 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.103, allocations: 4 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1031, allocations: 8 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1032, allocations: 137.2 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1032, allocations: 4.062 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1034, allocations: 24 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008522/0.1043, allocations: 417.1 kB / 443.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1045, allocations: 91.72 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1045, allocations: 256 / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.1046, allocations: 39.98 kB / 443.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1049, allocations: 32.16 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.1054, allocations: 297.5 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1056, allocations: 0.7162 MB / 444.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.71e-05/0.1057, allocations: 25.41 kB / 444.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1057, allocations: 15.44 kB / 445 MB, free: 9.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1057, allocations: 0 / 445 MB, free: 9.688 MB / 382.1 MB Notification: Performance of Templates: time 0.004163/0.1099, allocations: 1.72 MB / 446.7 MB, free: 7.973 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) Environment - environmentSimulation: