Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.76/1.76, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.4144/0.4144, allocations: 39.93 MB / 309.7 MB, free: 9.207 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.002053/0.002053, allocations: 78.41 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.205, allocations: 56.88 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004924/0.21, allocations: 1.685 MB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2114, allocations: 0.8054 MB / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.2115, allocations: 0 / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.2119, allocations: 43.77 kB / 437 MB, free: 1.105 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.2121, allocations: 51.75 kB / 437.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2124, allocations: 79.72 kB / 437.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.2126, allocations: 95.75 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2127, allocations: 16.2 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.2128, allocations: 43.73 kB / 437.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.2129, allocations: 27.84 kB / 437.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2129, allocations: 4 kB / 437.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.213, allocations: 43.98 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.2131, allocations: 19.92 kB / 437.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.2131, allocations: 31.75 kB / 437.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2133, allocations: 119.9 kB / 437.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2134, allocations: 0 / 437.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.2134, allocations: 0 / 437.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2134, allocations: 0 / 437.6 MB, free: 0.582 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.0005855/0.214, allocations: 414.9 kB / 438 MB, free: 132 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.214, allocations: 11.89 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.2141, allocations: 12.84 kB / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2143, allocations: 204.1 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2144, allocations: 8.359 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2144, allocations: 8.125 kB / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.2145, allocations: 53.67 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2146, allocations: 3.938 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2146, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2146, allocations: 4 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.2147, allocations: 27.86 kB / 438.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.2151, allocations: 284.9 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.2153, allocations: 54.67 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.2154, allocations: 20.86 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2154, allocations: 0 / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.2157, allocations: 75.22 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2157, allocations: 0 / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006198/0.2163, allocations: 173.3 kB / 438.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.2164, allocations: 55.41 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.2166, allocations: 186.1 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2166, allocations: 25.7 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.2167, allocations: 108.1 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2168, allocations: 19.72 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.2168, allocations: 21.7 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.2171, allocations: 338.8 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.2172, allocations: 19.98 kB / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.2172, allocations: 29.72 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2174, allocations: 65.64 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2174, allocations: 0 / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.2176, allocations: 102 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2176, allocations: 8.031 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2177, allocations: 4 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.2177, allocations: 0 / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2178, allocations: 20 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2178, allocations: 0 / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.2179, allocations: 11.92 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2179, allocations: 4 kB / 439.9 MB, free: 14.02 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.0001274/0.218, allocations: 125.6 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.218, allocations: 7.906 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.2181, allocations: 20.7 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2181, allocations: 4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2181, allocations: 0 / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2181, allocations: 3.938 kB / 440 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.2186, allocations: 391.4 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2186, allocations: 4 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.2187, allocations: 15.86 kB / 440.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2187, allocations: 7.969 kB / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2187, allocations: 7.938 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2187, allocations: 0 / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/0.2187, allocations: 4 kB / 440.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.219, allocations: 200.3 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.2191, allocations: 81.02 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2191, allocations: 7.938 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.2192, allocations: 7.984 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.2192, allocations: 4 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.2192, allocations: 8 kB / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.2194, allocations: 148 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2194, allocations: 0 / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.2196, allocations: 24 kB / 440.9 MB, free: 12.86 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.001119/0.2208, allocations: 469.3 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.221, allocations: 59.92 kB / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.221, allocations: 3.938 kB / 441.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.2211, allocations: 27.98 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.2214, allocations: 39.53 kB / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.222, allocations: 235 kB / 441.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2223, allocations: 0.708 MB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.023e-05/0.2224, allocations: 12.88 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.2224, allocations: 19.38 kB / 442.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2225, allocations: 0 / 442.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Templates: time 0.004925/0.2274, allocations: 1.685 MB / 444.2 MB, free: 9.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)