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.006711/0.006711, allocations: 173.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.748/1.748, allocations: 194.5 MB / 210.3 MB, free: 8.512 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.001771/0.001771, allocations: 112.6 kB / 255.6 MB, free: 11.12 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.2009/0.2009, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005388/0.0005388, allocations: 10.5 kB / 406.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1564, allocations: 54.88 MB / 461 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.312, allocations: 80.21 MB / 0.5286 GB, free: 3.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.3124, allocations: 67.91 kB / 0.5286 GB, free: 3.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003428/0.3158, allocations: 0.9108 MB / 0.5295 GB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3159, allocations: 0 / 0.5295 GB, free: 2.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3159, allocations: 0 / 0.5295 GB, free: 2.113 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005008/0.3164, allocations: 351.2 kB / 0.5298 GB, free: 1.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3165, allocations: 12.03 kB / 0.5299 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3165, allocations: 11.94 kB / 0.5299 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3167, allocations: 159.1 kB / 0.53 GB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3167, allocations: 4 kB / 0.53 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3168, allocations: 4 kB / 0.53 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.317, allocations: 63.33 kB / 0.5301 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.317, allocations: 4 kB / 0.5301 GB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3171, allocations: 4 kB / 0.5301 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3171, allocations: 0 / 0.5301 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3172, allocations: 27.94 kB / 0.5301 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.3178, allocations: 264.9 kB / 0.5304 GB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3179, allocations: 38.52 kB / 0.5304 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3179, allocations: 3.984 kB / 0.5304 GB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.318, allocations: 34.62 kB / 0.5304 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.318, allocations: 0 / 0.5304 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.3183, allocations: 73.62 kB / 0.5305 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3184, allocations: 81.11 kB / 0.5306 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.3185, allocations: 101 kB / 0.5307 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3185, allocations: 29.7 kB / 0.5307 GB, free: 0.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.3186, allocations: 84.14 kB / 0.5308 GB, free: 0.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3186, allocations: 7.891 kB / 0.5308 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.3186, allocations: 4 kB / 0.5308 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3187, allocations: 310.8 kB / 0.5311 GB, free: 264 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3188, allocations: 23.95 kB / 0.5311 GB, free: 240 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.3189, allocations: 29.66 kB / 0.5312 GB, free: 204 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.615e-05/0.319, allocations: 15.98 kB / 0.5312 GB, free: 188 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.319, allocations: 0 / 0.5312 GB, free: 188 kB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001721/0.3192, allocations: 65.64 kB / 0.5312 GB, free: 116 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3192, allocations: 8 kB / 0.5312 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3192, allocations: 0 / 0.5312 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3193, allocations: 0 / 0.5312 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.3193, allocations: 4 kB / 0.5312 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3194, allocations: 3.953 kB / 0.5312 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.3195, allocations: 11.98 kB / 0.5313 GB, free: 88 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3195, allocations: 0 / 0.5313 GB, free: 88 kB / 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: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked 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 0.2625/0.582, allocations: 118.4 kB / 0.5314 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.5821, allocations: 6.812 kB / 0.5314 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.5821, allocations: 7.938 kB / 0.5314 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5821, allocations: 0 / 0.5314 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5821, allocations: 0 / 0.5314 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5822, allocations: 4.094 kB / 0.5314 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.5823, allocations: 161.4 kB / 0.5315 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5823, allocations: 1.5 kB / 0.5315 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.5824, allocations: 3.781 kB / 0.5315 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5824, allocations: 2.094 kB / 0.5316 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.5825, allocations: 2.234 kB / 0.5316 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5825, allocations: 0.5 kB / 0.5316 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5825, allocations: 1.281 kB / 0.5316 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.5827, allocations: 154.8 kB / 0.5317 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.5827, allocations: 85.22 kB / 0.5318 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.5827, allocations: 2.469 kB / 0.5318 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.5829, allocations: 17.33 kB / 0.5318 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.5829, allocations: 8.438 kB / 0.5318 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.5829, allocations: 0 / 0.5318 GB, free: 82.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.583, allocations: 86.59 kB / 0.5319 GB, free: 82.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.583, allocations: 0 / 0.5319 GB, free: 82.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.5832, allocations: 10.12 kB / 0.5319 GB, free: 82.5 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 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * 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 9.035e-05/0.5833, allocations: 96.08 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.5835, allocations: 32.38 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5835, allocations: 0 / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.5836, allocations: 12.81 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.5837, allocations: 8.406 kB / 0.532 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.584, allocations: 140.5 kB / 0.5322 GB, free: 82.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.5842, allocations: 0.6815 MB / 0.5328 GB, free: 81.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.5842, allocations: 9 kB / 0.5329 GB, free: 81.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.5842, allocations: 8.469 kB / 0.5329 GB, free: 81.59 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5843, allocations: 0 / 0.5329 GB, free: 81.59 MB / 378.7 MB Notification: Performance of Templates: time 0.002441/0.5867, allocations: 486.7 kB / 0.5333 GB, free: 81.57 MB / 378.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)