Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0062/0.0062, allocations: 152.8 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8915/0.8915, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 34.25 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 443.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.046e-05, allocations: 2.281 kB / 443.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.1883/0.1883, allocations: 1.465 MB / 444.9 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006806/0.189, allocations: 457.6 kB / 445.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.189, allocations: 0 / 445.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1891, allocations: 0 / 445.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.1891, allocations: 9.375 kB / 445.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1894, allocations: 30.8 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1895, allocations: 39.41 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1896, allocations: 5.562 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1897, allocations: 36.11 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.1898, allocations: 8.828 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1898, allocations: 3.844 kB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.1898, allocations: 11.25 kB / 445.5 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1898, allocations: 10.28 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.1899, allocations: 5.594 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.19, allocations: 41.55 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.19, allocations: 0 / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.19, allocations: 0.7188 kB / 445.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.19, allocations: 0 / 445.5 MB, free: 43.51 MB / 410.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.0003816/0.1904, allocations: 279.1 kB / 445.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1904, allocations: 11.41 kB / 445.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1906, allocations: 13.06 kB / 445.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1908, allocations: 127.3 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1908, allocations: 4.312 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1908, allocations: 384 / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1909, allocations: 87.08 kB / 446 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1909, allocations: 4.547 kB / 446 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.191, allocations: 384 / 446 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.191, allocations: 6.781 kB / 446 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.191, allocations: 21.53 kB / 446.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.1913, allocations: 212.3 kB / 446.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/0.1913, allocations: 31.44 kB / 446.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.1914, allocations: 10.55 kB / 446.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1914, allocations: 2.906 kB / 446.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1914, allocations: 37.41 kB / 446.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1914, allocations: 1.125 kB / 446.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.1916, allocations: 71.58 kB / 446.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1916, allocations: 80.08 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.1917, allocations: 111.5 kB / 446.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.1917, allocations: 32.14 kB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.1917, allocations: 86.92 kB / 446.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1917, allocations: 7.094 kB / 446.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1917, allocations: 12.72 kB / 446.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.1918, allocations: 321 kB / 447 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.1918, allocations: 9.594 kB / 447.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.1918, allocations: 53.41 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.1919, allocations: 30.55 kB / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1919, allocations: 3.094 kB / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.017e-05/0.192, allocations: 56.25 kB / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.192, allocations: 9.844 kB / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.192, allocations: 0 / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.192, allocations: 0 / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.1921, allocations: 2.938 kB / 447.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1921, allocations: 6.906 kB / 447.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.1921, allocations: 12.28 kB / 447.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1921, allocations: 384 / 447.2 MB, free: 41.96 MB / 410.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 (hysteresis.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.1921, allocations: 113.8 kB / 447.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1922, allocations: 13.8 kB / 447.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1922, allocations: 10.41 kB / 447.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1922, allocations: 3.938 kB / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1922, allocations: 0 / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1922, allocations: 0 / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.667e-05/0.1923, allocations: 105.8 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1923, allocations: 0 / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.1923, allocations: 9.812 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1923, allocations: 4.828 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1923, allocations: 3.938 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1923, allocations: 6.75 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1923, allocations: 0 / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.1924, allocations: 147.5 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.1924, allocations: 6.078 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1924, allocations: 9.141 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.1924, allocations: 5.875 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.1925, allocations: 8.734 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1925, allocations: 0 / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.1925, allocations: 90.83 kB / 447.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1925, allocations: 4.031 kB / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.1926, allocations: 8.938 kB / 447.8 MB, free: 41.48 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.025e-05/0.1927, allocations: 93.94 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1928, allocations: 24.05 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1928, allocations: 0 / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.1928, allocations: 15.92 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.193, allocations: 3.859 kB / 447.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.1932, allocations: 158.7 kB / 448.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.1933, allocations: 62.91 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1933, allocations: 11.22 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1933, allocations: 0 / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of Templates: time 0.001614/0.1949, allocations: 0.6808 MB / 448.8 MB, free: 41.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.527652265504003]