Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, 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.001261/0.001261, allocations: 195.2 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.676/1.676, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.4399/0.4399, allocations: 39.94 MB / 309.7 MB, free: 9.27 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.001633/0.001633, allocations: 71.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.197, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003442/0.2005, allocations: 1.774 MB / 436.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2021, allocations: 0.8795 MB / 437.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.2022, allocations: 4 kB / 437.2 MB, free: 1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.2029, allocations: 307.3 kB / 437.5 MB, free: 0.6992 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.0004232/0.2033, allocations: 215.3 kB / 437.7 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.2037, allocations: 131.7 kB / 437.8 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.2041, allocations: 239.4 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.493e-05/0.2041, allocations: 9.547 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.2043, allocations: 131.7 kB / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.2046, allocations: 195.5 kB / 438.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.2046, allocations: 4 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2047, allocations: 47.86 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.2049, allocations: 139.6 kB / 438.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2051, allocations: 150.7 kB / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.2055, allocations: 370.9 kB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2055, allocations: 0 / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2055, allocations: 0 / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2055, allocations: 0 / 439.1 MB, free: 15.09 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.00103/0.2066, allocations: 0.719 MB / 439.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2066, allocations: 15.89 kB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.2067, allocations: 44.38 kB / 439.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.2073, allocations: 459.7 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.2073, allocations: 384 / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.2074, allocations: 16.06 kB / 440.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2076, allocations: 83.36 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2076, allocations: 3.984 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2077, allocations: 0 / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2077, allocations: 0 / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2078, allocations: 27.92 kB / 440.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.2083, allocations: 382.4 kB / 440.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2086, allocations: 105.2 kB / 440.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.2087, allocations: 45.64 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2087, allocations: 0 / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.2091, allocations: 105.1 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.2091, allocations: 3.938 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005115/0.2096, allocations: 201 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.2097, allocations: 85.05 kB / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2108, allocations: 1.03 MB / 442.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2109, allocations: 25.7 kB / 442.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.2111, allocations: 240 kB / 442.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.2112, allocations: 27.64 kB / 442.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.2112, allocations: 29.7 kB / 442.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2114, allocations: 370.8 kB / 443 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.2115, allocations: 31.98 kB / 443.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.2116, allocations: 55.41 kB / 443.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.2118, allocations: 87.86 kB / 443.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2118, allocations: 0 / 443.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002928/0.2121, allocations: 176.9 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2121, allocations: 7.984 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2122, allocations: 0 / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2122, allocations: 7.938 kB / 443.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.2123, allocations: 19.94 kB / 443.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2123, allocations: 7.984 kB / 443.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.2124, allocations: 7.938 kB / 443.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2124, allocations: 4 kB / 443.4 MB, free: 10.43 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002143/0.2127, allocations: 229.8 kB / 443.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.2127, allocations: 47.34 kB / 443.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.2128, allocations: 60 kB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2128, allocations: 0 / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.2128, allocations: 3.938 kB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2128, allocations: 7.938 kB / 443.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.2132, allocations: 337.4 kB / 444.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2132, allocations: 0 / 444.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.2132, allocations: 8 kB / 444.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2132, allocations: 4 kB / 444.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.2133, allocations: 11.98 kB / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2133, allocations: 0 / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2133, allocations: 0 / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.2136, allocations: 201.3 kB / 444.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.2137, allocations: 144.4 kB / 444.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.2138, allocations: 4 kB / 444.5 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.2139, allocations: 11.98 kB / 444.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2139, allocations: 7.984 kB / 444.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.214, allocations: 7.984 kB / 444.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007457/0.2147, allocations: 0.7682 MB / 445.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2147, allocations: 0 / 445.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.215, allocations: 47.98 kB / 445.3 MB, free: 8.453 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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 (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.001016/0.216, allocations: 425.5 kB / 445.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.2163, allocations: 88.03 kB / 445.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2163, allocations: 0 / 445.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2164, allocations: 52.16 kB / 445.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.2168, allocations: 70.06 kB / 445.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2181, allocations: 0.8709 MB / 446.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.2186, allocations: 0.8388 MB / 447.6 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.2188, allocations: 58.95 kB / 447.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.2188, allocations: 27.44 kB / 447.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2189, allocations: 0 / 447.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of Templates: time 0.009322/0.2282, allocations: 3.711 MB / 451.4 MB, free: 2.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)