Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01102/0.01102, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.545/1.545, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001644/0.001644, allocations: 120.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1859/0.1859, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 19.06 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.224, allocations: 79.7 MB / 0.528 GB, free: 3.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.2243, allocations: 63.97 kB / 0.5281 GB, free: 3.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005407/0.2297, allocations: 1.94 MB / 0.53 GB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2297, allocations: 0 / 0.53 GB, free: 1.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.2297, allocations: 0 / 0.53 GB, free: 1.492 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000326/0.2301, allocations: 377 kB / 0.5304 GB, free: 1.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2301, allocations: 12.03 kB / 0.5304 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2302, allocations: 3.953 kB / 0.5304 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.2303, allocations: 159.1 kB / 0.5305 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2303, allocations: 4 kB / 0.5305 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2303, allocations: 0 / 0.5305 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.2304, allocations: 30.92 kB / 0.5306 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2304, allocations: 0 / 0.5306 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2304, allocations: 7.938 kB / 0.5306 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2304, allocations: 0 / 0.5306 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.2305, allocations: 11.94 kB / 0.5306 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.2306, allocations: 145.6 kB / 0.5307 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.2306, allocations: 18.58 kB / 0.5307 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.2307, allocations: 96 / 0.5307 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.2307, allocations: 64.25 kB / 0.5308 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2307, allocations: 4 kB / 0.5308 GB, free: 0.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001687/0.2309, allocations: 67.33 kB / 0.5309 GB, free: 432 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.2309, allocations: 77.11 kB / 0.5309 GB, free: 336 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.06e-05/0.231, allocations: 89 kB / 0.531 GB, free: 240 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.231, allocations: 25.7 kB / 0.531 GB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.2311, allocations: 80.14 kB / 0.5311 GB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.2311, allocations: 0 / 0.5311 GB, free: 124 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.2311, allocations: 0 / 0.5311 GB, free: 124 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.2349/0.466, allocations: 319.4 kB / 0.5314 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.4661, allocations: 0 / 0.5314 GB, free: 82.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.4661, allocations: 0 / 0.5314 GB, free: 82.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.624e-05/0.4662, allocations: 28.86 kB / 0.5315 GB, free: 82.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4662, allocations: 0 / 0.5315 GB, free: 82.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001371/0.4663, allocations: 62.06 kB / 0.5315 GB, free: 82.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.4664, allocations: 36.55 kB / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4664, allocations: 0 / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.4665, allocations: 0 / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.4665, allocations: 5.312 kB / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4665, allocations: 0.6562 kB / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.4665, allocations: 6.328 kB / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4665, allocations: 0 / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.408e-05/0.4666, allocations: 137.9 kB / 0.5317 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.4666, allocations: 1.688 kB / 0.5317 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.4667, allocations: 11.27 kB / 0.5317 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4667, allocations: 0 / 0.5317 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.4667, allocations: 0 / 0.5317 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4667, allocations: 1.344 kB / 0.5317 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.4668, allocations: 149.9 kB / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4668, allocations: 2.812 kB / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.4668, allocations: 0.5469 kB / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4668, allocations: 5.891 kB / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4668, allocations: 1.969 kB / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4668, allocations: 0 / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4668, allocations: 0 / 0.5319 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.4669, allocations: 93.83 kB / 0.532 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.467, allocations: 82 kB / 0.532 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.467, allocations: 0 / 0.532 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.467, allocations: 5.094 kB / 0.532 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.4671, allocations: 1.406 kB / 0.532 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4671, allocations: 1.844 kB / 0.532 GB, free: 81.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.119e-05/0.4671, allocations: 75.28 kB / 0.5321 GB, free: 81.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4671, allocations: 1.406 kB / 0.5321 GB, free: 81.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.4675, allocations: 41.3 kB / 0.5322 GB, free: 81.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004996/0.468, allocations: 224.6 kB / 0.5324 GB, free: 81.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.292e-05/0.4681, allocations: 61 kB / 0.5324 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4681, allocations: 4.188 kB / 0.5324 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.4681, allocations: 58.22 kB / 0.5325 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.411e-05/0.4682, allocations: 5.797 kB / 0.5325 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.4684, allocations: 80.61 kB / 0.5326 GB, free: 81.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4686, allocations: 0.6721 MB / 0.5332 GB, free: 80.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.4686, allocations: 3.938 kB / 0.5332 GB, free: 80.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-06/0.4686, allocations: 8.562 kB / 0.5332 GB, free: 80.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4686, allocations: 0 / 0.5332 GB, free: 80.71 MB / 378.7 MB Notification: Performance of Templates: time 0.003078/0.4717, allocations: 0.8522 MB / 0.5341 GB, free: 80.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1)