Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.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.Blocks.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001979/0.001979, allocations: 182.4 kB / 12.74 MB, free: 2.582 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.605/1.605, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001614/0.001614, allocations: 122.9 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2056/0.2056, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.381e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09292, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4402, allocations: 80.12 MB / 0.5227 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4405, allocations: 62.38 kB / 0.5228 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002289/0.4428, allocations: 0.9097 MB / 0.5237 GB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4428, allocations: 0 / 0.5237 GB, free: 9.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4428, allocations: 3.938 kB / 0.5237 GB, free: 9.746 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002566/0.4431, allocations: 341.6 kB / 0.524 GB, free: 9.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4431, allocations: 8.031 kB / 0.524 GB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.4432, allocations: 7.953 kB / 0.524 GB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.147e-05/0.4433, allocations: 174.7 kB / 0.5242 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4433, allocations: 7.5 kB / 0.5242 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4433, allocations: 3.984 kB / 0.5242 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.4434, allocations: 54.39 kB / 0.5242 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.4434, allocations: 0 / 0.5242 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4434, allocations: 3.984 kB / 0.5242 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4434, allocations: 4 kB / 0.5242 GB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.4435, allocations: 11.58 kB / 0.5242 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.4438, allocations: 265.3 kB / 0.5245 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.4439, allocations: 30.38 kB / 0.5245 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.4439, allocations: 11.55 kB / 0.5245 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4439, allocations: 0 / 0.5245 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.4439, allocations: 34.56 kB / 0.5246 GB, free: 8.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.4439, allocations: 4 kB / 0.5246 GB, free: 8.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001319/0.4441, allocations: 44.66 kB / 0.5246 GB, free: 8.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.4441, allocations: 83.97 kB / 0.5247 GB, free: 8.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.4442, allocations: 100.9 kB / 0.5248 GB, free: 8.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.4442, allocations: 25.7 kB / 0.5248 GB, free: 8.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.4442, allocations: 88.02 kB / 0.5249 GB, free: 8.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.4443, allocations: 11.89 kB / 0.5249 GB, free: 8.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.4443, allocations: 0 / 0.5249 GB, free: 8.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.4443, allocations: 318.5 kB / 0.5252 GB, free: 7.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.4443, allocations: 7.375 kB / 0.5252 GB, free: 7.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.4444, allocations: 21.03 kB / 0.5252 GB, free: 7.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.4444, allocations: 6.594 kB / 0.5253 GB, free: 7.953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4444, allocations: 3.984 kB / 0.5253 GB, free: 7.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.878e-05/0.4445, allocations: 51.48 kB / 0.5253 GB, free: 7.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4445, allocations: 4 kB / 0.5253 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4445, allocations: 11.94 kB / 0.5253 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.4445, allocations: 4.031 kB / 0.5253 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.4446, allocations: 7.984 kB / 0.5253 GB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4446, allocations: 3.953 kB / 0.5253 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.4447, allocations: 11.98 kB / 0.5253 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.4447, allocations: 0 / 0.5253 GB, free: 7.855 MB / 346.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: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.05e-05/0.4448, allocations: 107.4 kB / 0.5255 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4448, allocations: 0 / 0.5255 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.4448, allocations: 14.72 kB / 0.5255 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.4448, allocations: 0 / 0.5255 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4448, allocations: 3.938 kB / 0.5255 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4448, allocations: 3.953 kB / 0.5255 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.445, allocations: 159.5 kB / 0.5256 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.445, allocations: 0 / 0.5256 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.445, allocations: 7.984 kB / 0.5256 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.445, allocations: 4.141 kB / 0.5256 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.445, allocations: 0 / 0.5256 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.445, allocations: 0 / 0.5256 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.445, allocations: 0 / 0.5256 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/0.4451, allocations: 153.9 kB / 0.5258 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.4452, allocations: 81.02 kB / 0.5259 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4452, allocations: 4 kB / 0.5259 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.4453, allocations: 11.98 kB / 0.5259 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.4453, allocations: 7.984 kB / 0.5259 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4453, allocations: 4.031 kB / 0.5259 GB, free: 7.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.556e-05/0.4454, allocations: 83.28 kB / 0.526 GB, free: 7.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4454, allocations: 0 / 0.526 GB, free: 7.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000199/0.4456, allocations: 8 kB / 0.526 GB, free: 7.145 MB / 346.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 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.315e-05/0.4457, allocations: 101.9 kB / 0.5261 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.4458, allocations: 19.5 kB / 0.5261 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4458, allocations: 0 / 0.5261 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.4458, allocations: 7.938 kB / 0.5261 GB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.4459, allocations: 8.062 kB / 0.5261 GB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.4461, allocations: 72.36 kB / 0.5262 GB, free: 6.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.4462, allocations: 0.6809 MB / 0.5268 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.4463, allocations: 0 / 0.5268 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.4463, allocations: 11.42 kB / 0.5268 GB, free: 6.207 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4463, allocations: 0 / 0.5268 GB, free: 6.207 MB / 346.7 MB Notification: Performance of Templates: time 0.00206/0.4484, allocations: 484.9 kB / 0.5273 GB, free: 5.75 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe 2>&1)