Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009502, allocations: 91.8 kB / 17 MB, free: 6.398 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.001176/0.001176, allocations: 180.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 44.24 MB / 337.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1819, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003482/0.1855, allocations: 1.349 MB / 472.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1874, allocations: 0.5577 MB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.1877, allocations: 8 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.1878, allocations: 3.938 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.188, allocations: 15.8 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.1888, allocations: 123.5 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.1891, allocations: 131.7 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1893, allocations: 33.41 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.1896, allocations: 55.78 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1897, allocations: 55.73 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.1898, allocations: 8 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.1898, allocations: 4 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.1899, allocations: 23.92 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.19, allocations: 37.64 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1902, allocations: 100 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1902, allocations: 0 / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1902, allocations: 0 / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1902, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009734/0.1912, allocations: 438.9 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.1913, allocations: 12.02 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.1914, allocations: 15.81 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.1918, allocations: 203.4 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1919, allocations: 8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.1919, allocations: 11.94 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.1926, allocations: 198.4 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1926, allocations: 3.906 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1926, allocations: 0 / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1926, allocations: 8 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.1933, allocations: 155.9 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.1946, allocations: 472.5 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.1956, allocations: 246.4 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.196, allocations: 92.8 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.196, allocations: 7.938 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.1961, allocations: 34.56 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.1961, allocations: 4 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.002474/0.1986, allocations: 0.6503 MB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1987, allocations: 110.8 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.199, allocations: 158.2 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.199, allocations: 25.8 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1992, allocations: 123.9 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.1992, allocations: 27.56 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.1992, allocations: 0 / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.1995, allocations: 322.8 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.1998, allocations: 83.94 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.2003, allocations: 110.5 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.2006, allocations: 83.97 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2006, allocations: 0 / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007998/0.2014, allocations: 225.3 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2016, allocations: 93 kB / 477.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.2016, allocations: 3.953 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2016, allocations: 0 / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.2019, allocations: 51.91 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.202, allocations: 4.531 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.2022, allocations: 31.98 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.2022, allocations: 7.984 kB / 478 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2022, allocations: 4 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000334/0.2026, allocations: 88.23 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.2026, allocations: 3.938 kB / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.339e-06/0.2026, allocations: 4.094 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.2027, allocations: 27.92 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2028, allocations: 0 / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2029, allocations: 15.98 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.2029, allocations: 7.984 kB / 478.2 MB, free: 6.742 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001933/0.2031, allocations: 201.6 kB / 478.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.2032, allocations: 11.91 kB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.2032, allocations: 16.7 kB / 478.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2033, allocations: 4 kB / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.2033, allocations: 0 / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2033, allocations: 3.938 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2047, allocations: 0.5499 MB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2047, allocations: 0 / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.205, allocations: 47.94 kB / 479 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.205, allocations: 4 kB / 479 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.205, allocations: 0 / 479 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.205, allocations: 0 / 479 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.205, allocations: 0 / 479 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2063, allocations: 427.9 kB / 479.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.2064, allocations: 89.05 kB / 479.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2064, allocations: 0 / 479.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2068, allocations: 52.02 kB / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.2069, allocations: 11.98 kB / 479.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2069, allocations: 15.98 kB / 479.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.2071, allocations: 124 kB / 479.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2071, allocations: 0 / 479.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005762/0.2077, allocations: 32 kB / 479.8 MB, free: 5.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000148/0.2078, allocations: 103.2 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008993/0.2087, allocations: 232.1 kB / 480.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2088, allocations: 0 / 480.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.2091, allocations: 100.1 kB / 480.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.2098, allocations: 35.91 kB / 480.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.2108, allocations: 336.1 kB / 480.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.2112, allocations: 0.7088 MB / 481.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.2114, allocations: 16.88 kB / 481.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.2114, allocations: 15.44 kB / 481.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2114, allocations: 0 / 481.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of Templates: time 0.006411/0.2179, allocations: 1.987 MB / 483.3 MB, free: 1.52 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches