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.001165/0.001165, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001084/0.001085, allocations: 194 kB / 18.77 MB, free: 4.742 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.323/1.323, allocations: 222.9 MB / 242.5 MB, free: 15.47 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.2143/0.2143, allocations: 44.17 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 64.78 kB / 408.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1687, allocations: 60.82 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.004337/0.1731, allocations: 1.727 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1746, allocations: 0.5924 MB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1748, allocations: 7.938 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.271e-05/0.1749, allocations: 7.922 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1752, allocations: 15.86 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.1758, allocations: 123.3 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1762, allocations: 155.6 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1764, allocations: 21.45 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1766, allocations: 63.77 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1768, allocations: 71.67 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.1769, allocations: 8 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.856e-05/0.1769, allocations: 8 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.177, allocations: 31.89 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.1771, allocations: 55.66 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1773, allocations: 92.06 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1773, allocations: 0 / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1773, allocations: 0 / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1773, allocations: 0 / 472.1 MB, free: 11.88 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.0009373/0.1782, allocations: 451 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1783, allocations: 12.03 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.1784, allocations: 20.75 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1788, allocations: 220.6 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1788, allocations: 384 / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.1788, allocations: 16.12 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.1794, allocations: 174.3 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1795, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1795, allocations: 8 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1795, allocations: 0 / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.1801, allocations: 127.9 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1813, allocations: 448.3 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008114/0.1822, allocations: 198.5 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.1825, allocations: 68.73 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1825, allocations: 7.938 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.1826, allocations: 38.55 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.1826, allocations: 0 / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.002016/0.1846, allocations: 0.576 MB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.1847, allocations: 102.8 kB / 474.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1849, allocations: 154.2 kB / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.185, allocations: 29.7 kB / 474.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.1851, allocations: 108 kB / 474.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.1851, allocations: 31.5 kB / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.1852, allocations: 29.7 kB / 474.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1854, allocations: 326.8 kB / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.1857, allocations: 76.8 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.186, allocations: 94.5 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.1866, allocations: 136.8 kB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1866, allocations: 0 / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007039/0.1874, allocations: 193.6 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1874, allocations: 4 kB / 475.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1874, allocations: 3.938 kB / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1874, allocations: 0 / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.1877, allocations: 39.91 kB / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1877, allocations: 0 / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1879, allocations: 23.97 kB / 475.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.188, allocations: 4 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002059/0.1882, allocations: 120.1 kB / 475.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001755/0.1884, allocations: 58.55 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002619/0.1887, allocations: 76.75 kB / 476 MB, free: 7.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1887, allocations: 0 / 476 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003763/0.1891, allocations: 121.5 kB / 476.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1891, allocations: 8 kB / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1891, allocations: 3.984 kB / 476.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.1891, allocations: 3.938 kB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1892, allocations: 23.92 kB / 476.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1893, allocations: 0 / 476.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1894, allocations: 11.98 kB / 476.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1894, allocations: 12.38 kB / 476.2 MB, free: 7.465 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.1896, allocations: 181.1 kB / 476.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.1897, allocations: 7.906 kB / 476.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.1897, allocations: 20.66 kB / 476.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1897, allocations: 7.922 kB / 476.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1898, allocations: 4 kB / 476.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1898, allocations: 4 kB / 476.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.191, allocations: 0.5068 MB / 476.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1911, allocations: 0 / 476.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.1913, allocations: 51.86 kB / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1913, allocations: 0 / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1913, allocations: 0 / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1914, allocations: 0 / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1914, allocations: 4.625 kB / 477 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1924, allocations: 360 kB / 477.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1925, allocations: 85.05 kB / 477.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.1925, allocations: 4 kB / 477.4 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.1929, allocations: 44.02 kB / 477.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.193, allocations: 3.984 kB / 477.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.193, allocations: 4 kB / 477.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1931, allocations: 123.2 kB / 477.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1931, allocations: 0 / 477.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.1936, allocations: 32 kB / 477.6 MB, free: 5.938 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.1938, allocations: 103.8 kB / 477.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008314/0.1946, allocations: 191.7 kB / 477.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.1946, allocations: 8 kB / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.195, allocations: 71.94 kB / 478 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.1957, allocations: 47.61 kB / 478.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.1966, allocations: 348 kB / 478.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.197, allocations: 0.7088 MB / 479.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.1971, allocations: 23.38 kB / 479.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1971, allocations: 0 / 479.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Templates: time 0.005444/0.2026, allocations: 1.829 MB / 481 MB, free: 2.574 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches