Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008063/0.008064, allocations: 107.9 kB / 15.74 MB, free: 5.578 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.001602/0.001603, allocations: 189.5 kB / 16.67 MB, free: 5.516 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2437/0.2437, allocations: 39.96 MB / 309.9 MB, free: 4.02 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.001546/0.001546, allocations: 65.62 kB / 435.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2047, allocations: 56.88 MB / 492.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.005269/0.2101, allocations: 1.691 MB / 494.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.2135, allocations: 1.408 MB / 495.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2137, allocations: 0 / 495.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.2142, allocations: 39.77 kB / 495.9 MB, free: 15.55 MB / 382.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.0003748/0.2146, allocations: 67.62 kB / 495.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.2151, allocations: 75.77 kB / 496 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.2154, allocations: 111.7 kB / 496.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.2156, allocations: 16.2 kB / 496.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2157, allocations: 39.8 kB / 496.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2159, allocations: 43.83 kB / 496.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.216, allocations: 4 kB / 496.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2162, allocations: 63.97 kB / 496.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.2163, allocations: 23.86 kB / 496.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.2164, allocations: 31.8 kB / 496.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.2169, allocations: 127.7 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.2169, allocations: 4 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2169, allocations: 0 / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2169, allocations: 0 / 496.5 MB, free: 14.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001079/0.218, allocations: 419 kB / 496.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.2181, allocations: 11.89 kB / 496.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.2182, allocations: 12.83 kB / 496.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.2186, allocations: 216.6 kB / 497.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2187, allocations: 3.938 kB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.2187, allocations: 12 kB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.219, allocations: 67.39 kB / 497.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.219, allocations: 4 kB / 497.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.219, allocations: 0 / 497.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.219, allocations: 3.984 kB / 497.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.2192, allocations: 27.98 kB / 497.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.2198, allocations: 304.6 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.2201, allocations: 66.67 kB / 497.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/0.2202, allocations: 28.86 kB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.2203, allocations: 0 / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.2205, allocations: 79.31 kB / 497.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.2205, allocations: 4 kB / 497.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009001/0.2214, allocations: 185.3 kB / 497.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.2215, allocations: 81.05 kB / 497.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.2218, allocations: 158.4 kB / 498.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.2218, allocations: 29.64 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.2219, allocations: 104.1 kB / 498.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.222, allocations: 31.69 kB / 498.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.2221, allocations: 25.7 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2222, allocations: 322.9 kB / 498.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.2224, allocations: 31.92 kB / 498.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2225, allocations: 46.56 kB / 498.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.2227, allocations: 69.64 kB / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2227, allocations: 0 / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002984/0.223, allocations: 113.6 kB / 498.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.223, allocations: 4 kB / 498.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.223, allocations: 0 / 498.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2231, allocations: 3.938 kB / 498.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2232, allocations: 19.98 kB / 498.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2232, allocations: 3.938 kB / 498.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.2233, allocations: 8 kB / 498.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.2234, allocations: 4 kB / 498.9 MB, free: 12.24 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 (11): * Single equations (assignments): 11 * 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.0001687/0.2235, allocations: 132.1 kB / 499 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.2236, allocations: 11.94 kB / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.2237, allocations: 16.66 kB / 499.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2237, allocations: 0 / 499.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.2237, allocations: 0 / 499.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2237, allocations: 3.984 kB / 499.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007042/0.2244, allocations: 419.2 kB / 499.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2244, allocations: 0 / 499.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.2245, allocations: 8 kB / 499.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2245, allocations: 4.031 kB / 499.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.2245, allocations: 7.984 kB / 499.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2245, allocations: 0 / 499.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2246, allocations: 3.938 kB / 499.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.2249, allocations: 220.2 kB / 499.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.225, allocations: 85.02 kB / 499.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.225, allocations: 3.984 kB / 499.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2251, allocations: 8 kB / 499.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.2252, allocations: 15.92 kB / 499.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2253, allocations: 11.98 kB / 499.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.2254, allocations: 123.9 kB / 500 MB, free: 11.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2254, allocations: 0 / 500 MB, free: 11.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005336/0.226, allocations: 28 kB / 500 MB, free: 11.06 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 (9): * Single equations (assignments): 7 * 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.001947/0.2279, allocations: 0.5028 MB / 0.4888 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003516/0.2283, allocations: 67.86 kB / 0.4888 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2283, allocations: 4.062 kB / 0.4888 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2285, allocations: 35.92 kB / 0.4889 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.2291, allocations: 39.69 kB / 0.4889 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.23, allocations: 206.8 kB / 0.4891 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.2306, allocations: 0.7002 MB / 0.4898 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.2307, allocations: 24.78 kB / 0.4898 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.2308, allocations: 19.44 kB / 0.4898 GB, free: 9.449 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2308, allocations: 0 / 0.4898 GB, free: 9.449 MB / 382.1 MB Notification: Performance of Templates: time 0.008315/0.2392, allocations: 2.058 MB / 0.4918 GB, free: 7.402 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)