Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, 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.001408/0.001408, allocations: 197 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.694/1.694, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3853/0.3853, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.002347/0.002347, allocations: 70.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.198, allocations: 56.88 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.006237/0.2043, allocations: 1.906 MB / 436.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.2068, allocations: 0.8467 MB / 437.3 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.207, allocations: 3.938 kB / 437.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.2075, allocations: 39.78 kB / 437.3 MB, free: 0.875 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.0003492/0.2079, allocations: 59.61 kB / 437.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.2083, allocations: 95.75 kB / 437.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.2086, allocations: 135.6 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2088, allocations: 37.69 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2089, allocations: 51.72 kB / 437.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2091, allocations: 55.7 kB / 437.7 MB, free: 456 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.2091, allocations: 4 kB / 437.7 MB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.2093, allocations: 47.98 kB / 437.8 MB, free: 404 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2094, allocations: 23.92 kB / 437.8 MB, free: 380 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2096, allocations: 51.61 kB / 437.8 MB, free: 328 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.21, allocations: 151.5 kB / 438 MB, free: 176 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.21, allocations: 0 / 438 MB, free: 176 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.21, allocations: 3.938 kB / 438 MB, free: 172 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.21, allocations: 0 / 438 MB, free: 172 kB / 366.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.00117/0.2112, allocations: 472.5 kB / 438.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.2113, allocations: 15.89 kB / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.2114, allocations: 12.75 kB / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.2118, allocations: 224.1 kB / 438.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2118, allocations: 4.375 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.2119, allocations: 16.06 kB / 438.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.2122, allocations: 104.2 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2122, allocations: 3.938 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2123, allocations: 7.938 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.2123, allocations: 4 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.2125, allocations: 47.91 kB / 438.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.2133, allocations: 0.5125 MB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.2138, allocations: 86.61 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2139, allocations: 44.83 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.214, allocations: 0 / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.2144, allocations: 87.31 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.2144, allocations: 0 / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005889/0.215, allocations: 137.5 kB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.2151, allocations: 59.34 kB / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.2154, allocations: 183.5 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2154, allocations: 33.7 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.2156, allocations: 119.9 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.2156, allocations: 23.7 kB / 440.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.2157, allocations: 37.7 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.2159, allocations: 322.8 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.2161, allocations: 27.98 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.2162, allocations: 68.27 kB / 440.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.2165, allocations: 92.59 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2165, allocations: 0 / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003974/0.2169, allocations: 149.3 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.217, allocations: 8 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.217, allocations: 0 / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.217, allocations: 3.984 kB / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2172, allocations: 27.92 kB / 440.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2172, allocations: 4 kB / 440.9 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2173, allocations: 15.83 kB / 440.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.2173, allocations: 8 kB / 440.9 MB, free: 12.98 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.2175, allocations: 125.4 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.2176, allocations: 23.84 kB / 441.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.2177, allocations: 17.39 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2177, allocations: 3.938 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2177, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2177, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.218, allocations: 209.6 kB / 441.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.218, allocations: 3.938 kB / 441.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.2181, allocations: 15.98 kB / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2181, allocations: 0 / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2181, allocations: 0 / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2182, allocations: 7.938 kB / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2182, allocations: 4 kB / 441.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.2187, allocations: 176.9 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.2188, allocations: 88.94 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.2189, allocations: 8 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.219, allocations: 7.938 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.219, allocations: 15.98 kB / 441.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2191, allocations: 4.188 kB / 441.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.2193, allocations: 141.2 kB / 441.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2193, allocations: 3.938 kB / 441.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.2197, allocations: 24 kB / 441.8 MB, free: 12.02 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 (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.001335/0.221, allocations: 400.8 kB / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.2214, allocations: 87.95 kB / 442.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.2214, allocations: 192 / 442.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.2215, allocations: 43.86 kB / 442.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.2219, allocations: 43.09 kB / 442.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007458/0.2227, allocations: 276.2 kB / 442.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.2231, allocations: 0.7084 MB / 443.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.2232, allocations: 25.41 kB / 443.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.2233, allocations: 19.42 kB / 443.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2233, allocations: 0 / 443.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.007072/0.2304, allocations: 1.88 MB / 445.2 MB, free: 8.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)