Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 97.25 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 172.3 kB / 16.58 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 222.7 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4883/0.4883, allocations: 43.56 MB / 314.6 MB, free: 8.777 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: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 19.98 kB / 383.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1708, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004527/0.1754, allocations: 2.98 MB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.1787, allocations: 1.38 MB / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.1791, allocations: 27.81 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1794, allocations: 71.23 kB / 447.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.1799, allocations: 126.9 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1811, allocations: 483.2 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009136/0.182, allocations: 0.8039 MB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.1824, allocations: 232.7 kB / 448.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.1828, allocations: 278.6 kB / 449.2 MB, free: 6.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.1832, allocations: 282.3 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.1832, allocations: 24 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.696e-05/0.1833, allocations: 24 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1834, allocations: 111.4 kB / 449.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1835, allocations: 145.2 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.1841, allocations: 0.5689 MB / 450.3 MB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.1841, allocations: 4 kB / 450.3 MB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1841, allocations: 0 / 450.3 MB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1841, allocations: 0 / 450.3 MB, free: 5.477 MB / 382.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.002271/0.1864, allocations: 1.129 MB / 451.4 MB, free: 4.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1865, allocations: 8.031 kB / 451.4 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.1867, allocations: 98.83 kB / 451.5 MB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.1876, allocations: 0.542 MB / 452.1 MB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.1876, allocations: 41 kB / 452.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1878, allocations: 55.91 kB / 452.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.1893, allocations: 0.7462 MB / 452.9 MB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1894, allocations: 0 / 452.9 MB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.1894, allocations: 28 kB / 453 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1895, allocations: 12 kB / 453 MB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.191, allocations: 0.64 MB / 453.6 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3405/0.5314, allocations: 2.345 MB / 456 MB, free: 44.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.5333, allocations: 0.8188 MB / 456.8 MB, free: 44.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.5345, allocations: 379.1 kB / 457.1 MB, free: 44.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.5346, allocations: 13.55 kB / 457.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.5346, allocations: 37.69 kB / 457.2 MB, free: 44.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.166e-06/0.5346, allocations: 6.156 kB / 457.2 MB, free: 44.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.00511/0.5398, allocations: 2.152 MB / 459.3 MB, free: 44.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.5399, allocations: 193.2 kB / 459.5 MB, free: 44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.5407, allocations: 0.5821 MB / 460.1 MB, free: 43.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.5408, allocations: 35.33 kB / 460.2 MB, free: 43.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.5411, allocations: 366.8 kB / 460.5 MB, free: 43.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5412, allocations: 172.6 kB / 460.7 MB, free: 43.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.5412, allocations: 13.16 kB / 460.7 MB, free: 43.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.5413, allocations: 327.8 kB / 461 MB, free: 43.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.5421, allocations: 348 kB / 461.4 MB, free: 43.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.5429, allocations: 457.7 kB / 461.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008434/0.5438, allocations: 359.2 kB / 462.2 MB, free: 43.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5438, allocations: 0 / 462.2 MB, free: 43.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001927/0.5457, allocations: 0.8912 MB / 463 MB, free: 43.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.5459, allocations: 157.8 kB / 463.2 MB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5459, allocations: 6.75 kB / 463.2 MB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.5459, allocations: 5.375 kB / 463.2 MB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.5467, allocations: 219 kB / 463.4 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.5467, allocations: 4.219 kB / 463.4 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.5473, allocations: 113.6 kB / 463.5 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.5473, allocations: 24.8 kB / 463.6 MB, free: 42.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.036e-06/0.5473, allocations: 5.656 kB / 463.6 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00116/0.5485, allocations: 0.6062 MB / 464.2 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5485, allocations: 3.188 kB / 464.2 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5485, allocations: 10.97 kB / 464.2 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.5492, allocations: 178.2 kB / 464.4 MB, free: 42.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5492, allocations: 7.188 kB / 464.4 MB, free: 42.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.5497, allocations: 67.62 kB / 464.4 MB, free: 42.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.5497, allocations: 19.81 kB / 464.5 MB, free: 42.8 MB / 382.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.0004/0.5501, allocations: 279.1 kB / 464.7 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.5503, allocations: 76.28 kB / 464.8 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.5506, allocations: 84.3 kB / 464.9 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.5506, allocations: 6.656 kB / 464.9 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.5506, allocations: 2.969 kB / 464.9 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.5506, allocations: 3.469 kB / 464.9 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.5532, allocations: 1.544 MB / 466.4 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.5532, allocations: 3.688 kB / 466.4 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.5538, allocations: 175.4 kB / 466.6 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.5538, allocations: 2.844 kB / 466.6 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.5539, allocations: 13.36 kB / 466.6 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5539, allocations: 2.906 kB / 466.6 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5539, allocations: 10.92 kB / 466.6 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.5563, allocations: 1.404 MB / 468 MB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.5565, allocations: 190.2 kB / 468.2 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.5566, allocations: 17.77 kB / 468.3 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.5571, allocations: 109.3 kB / 468.4 MB, free: 41.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.5572, allocations: 47.55 kB / 468.4 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.5572, allocations: 19.34 kB / 468.4 MB, free: 41.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005986/0.5578, allocations: 397.7 kB / 468.8 MB, free: 41.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5579, allocations: 3.938 kB / 468.8 MB, free: 41.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008678/0.5587, allocations: 184.2 kB / 469 MB, free: 41.62 MB / 382.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.0001971/0.5589, allocations: 116.3 kB / 469.1 MB, free: 41.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.5612, allocations: 1.095 MB / 470.2 MB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5612, allocations: 0 / 470.2 MB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.562, allocations: 407.1 kB / 470.6 MB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5632, allocations: 180.8 kB / 470.8 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.5664, allocations: 1.807 MB / 472.6 MB, free: 40.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.5669, allocations: 0.9345 MB / 473.5 MB, free: 39.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000543/0.5674, allocations: 96.81 kB / 473.6 MB, free: 39.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.5677, allocations: 61.47 kB / 473.7 MB, free: 39.42 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5677, allocations: 0 / 473.7 MB, free: 39.42 MB / 382.1 MB Notification: Performance of Templates: time 0.01338/0.5811, allocations: 7.693 MB / 481.4 MB, free: 38.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches