Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006401/0.006401, allocations: 175.7 kB / 15.12 MB, free: 6.039 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.441/1.441, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001645/0.001645, allocations: 116.5 kB / 255.6 MB, free: 10.24 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.1678/0.1678, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 18.17 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.2148, allocations: 79.8 MB / 0.5281 GB, free: 3.402 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.215, allocations: 59.97 kB / 0.5282 GB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004213/0.2193, allocations: 1.665 MB / 0.5298 GB, free: 1.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2193, allocations: 0 / 0.5298 GB, free: 1.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2193, allocations: 0 / 0.5298 GB, free: 1.676 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.0003157/0.2196, allocations: 361 kB / 0.5302 GB, free: 1.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2197, allocations: 8.031 kB / 0.5302 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2197, allocations: 7.953 kB / 0.5302 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2198, allocations: 159.1 kB / 0.5303 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2199, allocations: 7.938 kB / 0.5303 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.2199, allocations: 0 / 0.5303 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.22, allocations: 33.69 kB / 0.5304 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.22, allocations: 0 / 0.5304 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.22, allocations: 4 kB / 0.5304 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.22, allocations: 0 / 0.5304 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.22, allocations: 0 / 0.5304 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.2202, allocations: 145.6 kB / 0.5305 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.349e-05/0.2202, allocations: 26.55 kB / 0.5305 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.2203, allocations: 3.938 kB / 0.5305 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.2203, allocations: 64.25 kB / 0.5306 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2203, allocations: 0 / 0.5306 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001709/0.2205, allocations: 59.47 kB / 0.5307 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2206, allocations: 77.11 kB / 0.5307 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.907e-05/0.2206, allocations: 85 kB / 0.5308 GB, free: 456 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.2206, allocations: 29.7 kB / 0.5308 GB, free: 420 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.2207, allocations: 84.14 kB / 0.5309 GB, free: 332 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2207, allocations: 4.125 kB / 0.5309 GB, free: 328 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.2207, allocations: 0 / 0.5309 GB, free: 328 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2209, allocations: 318.8 kB / 0.5312 GB, free: 0 / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2219/0.4428, allocations: 112 / 0.5312 GB, free: 82.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.4428, allocations: 5.219 kB / 0.5312 GB, free: 82.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.4429, allocations: 27.05 kB / 0.5313 GB, free: 82.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4429, allocations: 0 / 0.5313 GB, free: 82.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001054/0.443, allocations: 58.47 kB / 0.5313 GB, free: 82.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.443, allocations: 33.88 kB / 0.5314 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4431, allocations: 0.6875 kB / 0.5314 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4431, allocations: 1.719 kB / 0.5314 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.4431, allocations: 1.406 kB / 0.5314 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4431, allocations: 0 / 0.5314 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.4431, allocations: 1.25 kB / 0.5314 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4431, allocations: 0.5 kB / 0.5314 GB, free: 82.7 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 6.393e-05/0.4432, allocations: 140.6 kB / 0.5315 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.4432, allocations: 4.281 kB / 0.5315 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.4432, allocations: 9.953 kB / 0.5315 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4433, allocations: 0 / 0.5315 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4433, allocations: 0 / 0.5315 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4433, allocations: 2.828 kB / 0.5315 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.843e-05/0.4433, allocations: 151.7 kB / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4434, allocations: 7.125 kB / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.4434, allocations: 0.625 kB / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4434, allocations: 1.5 kB / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.4434, allocations: 5.703 kB / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4434, allocations: 0 / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4434, allocations: 1.438 kB / 0.5317 GB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.4435, allocations: 93.16 kB / 0.5318 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.4435, allocations: 83.31 kB / 0.5318 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4435, allocations: 1.625 kB / 0.5318 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-06/0.4436, allocations: 0 / 0.5318 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4436, allocations: 3.125 kB / 0.5318 GB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4436, allocations: 2.453 kB / 0.5318 GB, free: 82.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.672e-05/0.4436, allocations: 77.47 kB / 0.5319 GB, free: 82.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4436, allocations: 3.469 kB / 0.5319 GB, free: 82.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.4439, allocations: 29.72 kB / 0.532 GB, free: 82.09 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.0005074/0.4444, allocations: 280 kB / 0.5322 GB, free: 81.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.4445, allocations: 61.59 kB / 0.5323 GB, free: 81.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4445, allocations: 0 / 0.5323 GB, free: 81.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.4446, allocations: 57.62 kB / 0.5323 GB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.176e-05/0.4446, allocations: 1.031 kB / 0.5323 GB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/0.4448, allocations: 77.34 kB / 0.5324 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.4449, allocations: 0.6741 MB / 0.5331 GB, free: 81.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.187e-06/0.445, allocations: 4.125 kB / 0.5331 GB, free: 81.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.445, allocations: 8.75 kB / 0.5331 GB, free: 81.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.445, allocations: 2.516 kB / 0.5331 GB, free: 81.04 MB / 378.7 MB Notification: Performance of Templates: time 0.002661/0.4476, allocations: 0.7671 MB / 0.5338 GB, free: 80.94 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1)