Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 100.7 kB / 16.98 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.001751/0.001751, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.553/1.553, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2283/0.2283, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 9.25 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 61.92 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005733/0.1681, allocations: 2.949 MB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1719, allocations: 1.294 MB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009551/0.1729, allocations: 19.88 kB / 475.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1732, allocations: 51.38 kB / 475.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.1744, allocations: 163.4 kB / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.1762, allocations: 476.8 kB / 476.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1777, allocations: 0.5747 MB / 477 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.1783, allocations: 224.2 kB / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.1789, allocations: 290.6 kB / 477.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.1793, allocations: 278.4 kB / 477.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.1795, allocations: 24 kB / 477.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.1796, allocations: 24 kB / 477.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.1798, allocations: 111.4 kB / 477.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.18, allocations: 133.3 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.1808, allocations: 0.5613 MB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1808, allocations: 0 / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1808, allocations: 0 / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.1808, allocations: 0 / 478.6 MB, free: 6.582 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00304/0.1839, allocations: 1.114 MB / 479.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.184, allocations: 8.031 kB / 479.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.1843, allocations: 98.86 kB / 479.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.1854, allocations: 0.5187 MB / 480.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.1855, allocations: 41 kB / 480.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1857, allocations: 56 kB / 480.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.1879, allocations: 0.7461 MB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.188, allocations: 7.984 kB / 481.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.188, allocations: 20 kB / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.1881, allocations: 12 kB / 481.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.1903, allocations: 0.6401 MB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.1955, allocations: 2.356 MB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.198, allocations: 0.8116 MB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.1981, allocations: 8.312 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/0.1982, allocations: 42.88 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.907e-06/0.1982, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.007188/0.2054, allocations: 2.149 MB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.2056, allocations: 192.3 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.2066, allocations: 0.5629 MB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.2067, allocations: 33.7 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.2071, allocations: 356.8 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.2074, allocations: 181.4 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2074, allocations: 8 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.2076, allocations: 386.7 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/0.2085, allocations: 344.9 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009258/0.2094, allocations: 454 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.2102, allocations: 362 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2103, allocations: 0 / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00194/0.2122, allocations: 0.8805 MB / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.2126, allocations: 0.8831 MB / 491.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2126, allocations: 4 kB / 491.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2126, allocations: 8 kB / 491.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/0.2135, allocations: 211.8 kB / 492 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.2135, allocations: 11.92 kB / 492 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.2141, allocations: 107.9 kB / 492.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.2142, allocations: 19.98 kB / 492.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2142, allocations: 4 kB / 492.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.2155, allocations: 0.6145 MB / 492.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2155, allocations: 4.047 kB / 492.8 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2155, allocations: 8.234 kB / 492.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.2161, allocations: 183.7 kB / 493 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2162, allocations: 7.938 kB / 493 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.2166, allocations: 67.95 kB / 493 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.2166, allocations: 23.98 kB / 493.1 MB, free: 7.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0004337/0.2171, allocations: 269.6 kB / 493.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.2173, allocations: 71.16 kB / 493.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.2175, allocations: 79.28 kB / 493.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.2175, allocations: 11.95 kB / 493.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.2175, allocations: 0 / 493.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2175, allocations: 7.922 kB / 493.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.2205, allocations: 1.538 MB / 495 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2205, allocations: 4.062 kB / 495 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.2213, allocations: 179.8 kB / 495.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2213, allocations: 3.984 kB / 495.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.2213, allocations: 16 kB / 495.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2213, allocations: 0 / 495.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2213, allocations: 4 kB / 495.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.2242, allocations: 1.437 MB / 496.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.2244, allocations: 196 kB / 496.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.2245, allocations: 12 kB / 496.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.2251, allocations: 107.9 kB / 497 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.2252, allocations: 47.62 kB / 497 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.2253, allocations: 19.98 kB / 497 MB, free: 3.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000508/0.2258, allocations: 387.1 kB / 497.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.2258, allocations: 0 / 497.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007433/0.2266, allocations: 183.9 kB / 497.6 MB, free: 2.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.000177/0.2267, allocations: 115.2 kB / 497.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.2293, allocations: 1.092 MB / 498.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2293, allocations: 0 / 498.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009322/0.2303, allocations: 415.8 kB / 499.2 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/0.2312, allocations: 169.3 kB / 499.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.2348, allocations: 1.778 MB / 0.4894 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.2353, allocations: 0.9416 MB / 0.4903 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.2358, allocations: 88.78 kB / 0.4904 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.236, allocations: 59.41 kB / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.236, allocations: 0 / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01553/0.2515, allocations: 7.639 MB / 0.4979 GB, free: 6.617 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches