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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4264/0.4264, allocations: 40.01 MB / 310.4 MB, free: 9.938 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1798, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002212/0.1821, allocations: 1.147 MB / 437.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.1831, allocations: 440.2 kB / 438.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.1832, allocations: 0 / 438.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.1832, allocations: 3.938 kB / 438.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.1833, allocations: 0 / 438.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1835, allocations: 15.92 kB / 438.4 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.1836, allocations: 27.92 kB / 438.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1838, allocations: 0 / 438.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1839, allocations: 27.91 kB / 438.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.184, allocations: 11.92 kB / 438.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1841, allocations: 4 kB / 438.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.1841, allocations: 0 / 438.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.1841, allocations: 4 kB / 438.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1842, allocations: 29.7 kB / 438.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.4e-05/0.1843, allocations: 31.81 kB / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1843, allocations: 0 / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1843, allocations: 0 / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1843, allocations: 0 / 438.5 MB, free: 0.8086 MB / 366.1 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.0005977/0.1849, allocations: 347.5 kB / 438.9 MB, free: 432 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.185, allocations: 8.031 kB / 438.9 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.185, allocations: 11.86 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1852, allocations: 171 kB / 439 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1853, allocations: 4 kB / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1853, allocations: 0 / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1855, allocations: 63.39 kB / 439.1 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1855, allocations: 0 / 439.1 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1855, allocations: 0 / 439.1 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1855, allocations: 4 kB / 439.1 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.1856, allocations: 27.88 kB / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.1863, allocations: 269 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1864, allocations: 26.58 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1864, allocations: 16.91 kB / 439.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1865, allocations: 0 / 439.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.1865, allocations: 42.56 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1865, allocations: 0 / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003136/0.1869, allocations: 73.47 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.187, allocations: 85.05 kB / 439.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1871, allocations: 113.8 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1871, allocations: 25.7 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1872, allocations: 92.27 kB / 439.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.1872, allocations: 7.891 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1872, allocations: 0 / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.1875, allocations: 310.8 kB / 440.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.1876, allocations: 19.98 kB / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.1876, allocations: 21.72 kB / 440.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.263e-05/0.1877, allocations: 23.95 kB / 440.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1877, allocations: 0 / 440.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001412/0.1878, allocations: 57.69 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1879, allocations: 7.984 kB / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1879, allocations: 0 / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1879, allocations: 144 / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.188, allocations: 7.953 kB / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.188, allocations: 4 kB / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.1881, allocations: 15.98 kB / 440.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1881, allocations: 3.984 kB / 440.3 MB, free: 14.75 MB / 382.1 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 9.819e-05/0.1882, allocations: 113.8 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1882, allocations: 7.844 kB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.1883, allocations: 7.531 kB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1883, allocations: 4 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1883, allocations: 7.953 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1883, allocations: 3.984 kB / 440.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1885, allocations: 153.7 kB / 440.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1885, allocations: 0 / 440.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.1885, allocations: 11.92 kB / 440.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1886, allocations: 4 kB / 440.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1886, allocations: 0 / 440.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1886, allocations: 0 / 440.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1886, allocations: 0 / 440.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1888, allocations: 159.5 kB / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1888, allocations: 77.11 kB / 440.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1889, allocations: 4 kB / 440.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.1889, allocations: 15.98 kB / 440.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.189, allocations: 11.92 kB / 440.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.189, allocations: 4.031 kB / 440.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.1891, allocations: 87.27 kB / 441 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1891, allocations: 0 / 441 MB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1893, allocations: 15.86 kB / 441 MB, free: 13.98 MB / 382.1 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 0.0001302/0.1895, allocations: 99.17 kB / 441.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1897, allocations: 31.98 kB / 441.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1897, allocations: 4 kB / 441.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.1897, allocations: 11.98 kB / 441.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.19, allocations: 11.66 kB / 441.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.1905, allocations: 128.6 kB / 441.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1908, allocations: 0.681 MB / 442 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.1908, allocations: 7.938 kB / 442 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1909, allocations: 7.438 kB / 442 MB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1909, allocations: 0 / 442 MB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.003578/0.1945, allocations: 488.5 kB / 442.5 MB, free: 12.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: