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.001187/0.001187, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.623/1.623, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001627/0.001627, allocations: 117.6 kB / 247.4 MB, free: 6.211 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.1833/0.1833, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.559e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09474, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4236, allocations: 79.45 MB / 0.5153 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000138/0.4237, allocations: 63.53 kB / 0.5153 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002101/0.4258, allocations: 0.9089 MB / 0.5162 GB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4259, allocations: 0 / 0.5162 GB, free: 10.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.4259, allocations: 0 / 0.5162 GB, free: 10.1 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.0002307/0.4261, allocations: 344.6 kB / 0.5165 GB, free: 9.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4262, allocations: 7.688 kB / 0.5165 GB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.4262, allocations: 7.766 kB / 0.5166 GB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.4263, allocations: 169.7 kB / 0.5167 GB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4263, allocations: 7.812 kB / 0.5167 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.4263, allocations: 0 / 0.5167 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.79e-05/0.4264, allocations: 6.656 kB / 0.5167 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.4264, allocations: 55.62 kB / 0.5168 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.4265, allocations: 4 kB / 0.5168 GB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4265, allocations: 0 / 0.5168 GB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4265, allocations: 7.766 kB / 0.5168 GB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.4268, allocations: 239.2 kB / 0.517 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.4268, allocations: 23.58 kB / 0.517 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.4268, allocations: 12.83 kB / 0.5171 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.4269, allocations: 0 / 0.5171 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.4269, allocations: 37.12 kB / 0.5171 GB, free: 9.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.4269, allocations: 0 / 0.5171 GB, free: 9.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001187/0.427, allocations: 43.55 kB / 0.5171 GB, free: 9.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.427, allocations: 81.06 kB / 0.5172 GB, free: 9.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/0.4271, allocations: 103 kB / 0.5173 GB, free: 8.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.4271, allocations: 29.58 kB / 0.5173 GB, free: 8.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.4271, allocations: 93.83 kB / 0.5174 GB, free: 8.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.4272, allocations: 4.891 kB / 0.5174 GB, free: 8.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.4272, allocations: 0 / 0.5174 GB, free: 8.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.4272, allocations: 320.4 kB / 0.5177 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.4272, allocations: 7.406 kB / 0.5177 GB, free: 8.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.4273, allocations: 21.05 kB / 0.5178 GB, free: 8.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.4273, allocations: 6.094 kB / 0.5178 GB, free: 8.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4273, allocations: 4.031 kB / 0.5178 GB, free: 8.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.211e-05/0.4274, allocations: 54.34 kB / 0.5178 GB, free: 8.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4274, allocations: 7.688 kB / 0.5178 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4274, allocations: 2.516 kB / 0.5178 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.4274, allocations: 0 / 0.5178 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.4275, allocations: 6.031 kB / 0.5178 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.4275, allocations: 0 / 0.5178 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.4275, allocations: 14.39 kB / 0.5179 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4276, allocations: 7.875 kB / 0.5179 GB, free: 8.441 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 4.254e-05/0.4276, allocations: 101 kB / 0.518 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4276, allocations: 10.36 kB / 0.518 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.4277, allocations: 7.406 kB / 0.518 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4277, allocations: 0 / 0.518 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4277, allocations: 0 / 0.518 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4277, allocations: 0 / 0.518 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.672e-05/0.4278, allocations: 145.7 kB / 0.5181 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4278, allocations: 0 / 0.5181 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.4278, allocations: 7.844 kB / 0.5181 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4278, allocations: 7.875 kB / 0.5181 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4279, allocations: 2.719 kB / 0.5181 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4279, allocations: 0 / 0.5181 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4279, allocations: 0 / 0.5181 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.998e-05/0.4279, allocations: 144.8 kB / 0.5183 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.428, allocations: 84.86 kB / 0.5184 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.428, allocations: 2.531 kB / 0.5184 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.4281, allocations: 14.44 kB / 0.5184 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.4281, allocations: 6.375 kB / 0.5184 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4281, allocations: 2.391 kB / 0.5184 GB, free: 7.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.4282, allocations: 82.5 kB / 0.5185 GB, free: 7.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4282, allocations: 3.844 kB / 0.5185 GB, free: 7.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.4284, allocations: 3.844 kB / 0.5185 GB, free: 7.852 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 6.495e-05/0.4285, allocations: 90.84 kB / 0.5186 GB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.4285, allocations: 24.98 kB / 0.5186 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4285, allocations: 0 / 0.5186 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.4286, allocations: 7.781 kB / 0.5186 GB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.4287, allocations: 11.55 kB / 0.5186 GB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00016/0.4289, allocations: 63.55 kB / 0.5187 GB, free: 7.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.938e-05/0.429, allocations: 0.6779 MB / 0.5193 GB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.429, allocations: 8.031 kB / 0.5193 GB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.429, allocations: 10.16 kB / 0.5193 GB, free: 6.977 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.429, allocations: 0 / 0.5193 GB, free: 6.977 MB / 346.7 MB Notification: Performance of Templates: time 0.001839/0.4309, allocations: 458.5 kB / 0.5198 GB, free: 6.93 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)