Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.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_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 115.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 214.2 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.104/1.104, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1642/0.1642, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.082e-05, allocations: 2.281 kB / 481.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003659/0.003678, allocations: 3.538 MB / 485.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.006064, allocations: 1.492 MB / 486.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.006456, allocations: 27.88 kB / 487 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.006728, allocations: 110.7 kB / 487.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.00719, allocations: 158.5 kB / 487.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.008248, allocations: 0.6227 MB / 487.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009761/0.009232, allocations: 1.042 MB / 488.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.009621, allocations: 309.1 kB / 489.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.01006, allocations: 378.4 kB / 489.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.01038, allocations: 358.1 kB / 489.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.01048, allocations: 72 kB / 490 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.0106, allocations: 83.98 kB / 490.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006623/0.01127, allocations: 1.285 MB / 491.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003892/0.01166, allocations: 0.85 MB / 492.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01179, allocations: 123.4 kB / 492.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.000111/0.01191, allocations: 59.56 kB / 492.4 MB, free: 9.625 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 (121) * Number of variables: 121 (121) Notification: Performance of Bindings: time 0.002434/0.01435, allocations: 3.484 MB / 495.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001138/0.01447, allocations: 139.7 kB / 496 MB, free: 5.855 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001374/0.01585, allocations: 1.78 MB / 497.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001554/0.01601, allocations: 139.8 kB / 497.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of Alias: time 0.002785/0.0188, allocations: 2.982 MB / 0.4892 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001037/0.01892, allocations: 103.9 kB / 0.4893 GB, free: 472 kB / 366.1 MB Notification: Performance of Events: time 0.0004542/0.01938, allocations: 485.7 kB / 0.4897 GB, free: 15.96 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003794/0.01976, allocations: 469.2 kB / 0.4902 GB, free: 15.5 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0004753/0.02025, allocations: 0.5407 MB / 0.4907 GB, free: 14.88 MB / 382.1 MB Notification: Performance of Causalize: time 0.001865/0.02212, allocations: 1.949 MB / 0.4926 GB, free: 12.84 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001039/0.02317, allocations: 1.339 MB / 0.4939 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Inline: time 0.002001/0.02517, allocations: 2.456 MB / 0.4963 GB, free: 8.98 MB / 382.1 MB Notification: Performance of Partitioning: time 0.000106/0.02529, allocations: 107.6 kB / 0.4964 GB, free: 8.867 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0002109/0.02551, allocations: 247.5 kB / 0.4966 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Causalize: time 0.005412/0.03092, allocations: 5.407 MB / 0.5019 GB, free: 3.18 MB / 382.1 MB Notification: Performance of Tearing: time 1.332e-05/0.03095, allocations: 7.938 kB / 0.5019 GB, free: 3.172 MB / 382.1 MB Notification: Performance of Initialization: time 4.71e-07/0.03095, allocations: 0 / 0.5019 GB, free: 3.172 MB / 382.1 MB Notification: Performance of Tearing: time 4.579e-06/0.03096, allocations: 4 kB / 0.5019 GB, free: 3.168 MB / 382.1 MB Notification: Performance of Categorize: time 1.305e-05/0.03098, allocations: 7.938 kB / 0.5019 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Solve: time 0.001026/0.03201, allocations: 1.366 MB / 0.5033 GB, free: 1.676 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0005462/0.03257, allocations: 0.6742 MB / 0.5039 GB, free: 0.9609 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (8) {slewRateLimiter1.y, slewRateLimiter2.y, limIntegrator1.y, limIntegrator2.y, PID1.I.y, PID2.I.y, PID1.D.x, PID2.D.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 35 (35) {$SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 80 (scalar:80, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 116 (scalar:116, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 116 (scalar:116, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 8.151e-05/0.03266, allocations: 69.66 kB / 0.504 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of SimCode: time 0.1438/0.1764, allocations: 3.079 MB / 0.507 GB, free: 31.33 MB / 382.1 MB Notification: Performance of Templates: time 0.01083/0.1873, allocations: 6.702 MB / 0.5136 GB, free: 31.2 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,PID1.D.x,PID1.I.y,PID2.D.x,PID2.I.y,limIntegrator1.y,limIntegrator2.y,slewRateLimiter1.y,slewRateLimiter2.y Variables in the result:PID1.D.T,PID1.D.initType,PID1.D.k,PID1.D.x,PID1.D.x_start,PID1.D.y_start,PID1.D.zeroGain,PID1.FFzero.k,PID1.FFzero.y,PID1.I.initType,PID1.I.k,PID1.I.y,PID1.I.y_start,PID1.Nd,PID1.Ni,PID1.P.k,PID1.Td,PID1.Ti,PID1.addD.k1,PID1.addD.k2,PID1.addFF.k1,PID1.addFF.k2,PID1.addFF.u2,PID1.addI.k1,PID1.addI.k2,PID1.addI.k3,PID1.addP.k1,PID1.addP.k2,PID1.addPID.k1,PID1.addPID.k2,PID1.addPID.k3,PID1.addSat.k1,PID1.addSat.k2,PID1.controllerType,PID1.gainPID.k,PID1.gainTrack.k,PID1.homotopyType,PID1.initType,PID1.k,PID1.kFF,PID1.limiter.homotopyType,PID1.limiter.strict,PID1.limiter.uMax,PID1.limiter.uMin,PID1.strict,PID1.wd,PID1.withFeedForward,PID1.wp,PID1.xd_start,PID1.xi_start,PID1.yMax,PID1.yMin,PID1.y_start,PID2.D.T,PID2.D.initType,PID2.D.k,PID2.D.x,PID2.D.x_start,PID2.D.y_start,PID2.D.zeroGain,PID2.FFzero.k,PID2.FFzero.y,PID2.I.initType,PID2.I.k,PID2.I.y,PID2.I.y_start,PID2.Nd,PID2.Ni,PID2.P.k,PID2.Td,PID2.Ti,PID2.addD.k1,PID2.addD.k2,PID2.addFF.k1,PID2.addFF.k2,PID2.addFF.u2,PID2.addI.k1,PID2.addI.k2,PID2.addI.k3,PID2.addP.k1,PID2.addP.k2,PID2.addPID.k1,PID2.addPID.k2,PID2.addPID.k3,PID2.addSat.k1,PID2.addSat.k2,PID2.controllerType,PID2.gainPID.k,PID2.gainTrack.k,PID2.homotopyType,PID2.initType,PID2.k,PID2.kFF,PID2.limiter.homotopyType,PID2.limiter.strict,PID2.limiter.uMax,PID2.limiter.uMin,PID2.strict,PID2.wd,PID2.withFeedForward,PID2.wp,PID2.xd_start,PID2.xi_start,PID2.yMax,PID2.yMin,PID2.y_start,limIntegrator1.initType,limIntegrator1.k,limIntegrator1.limitsAtInit,limIntegrator1.outMax,limIntegrator1.outMin,limIntegrator1.strict,limIntegrator1.y,limIntegrator1.y_start,limIntegrator2.initType,limIntegrator2.k,limIntegrator2.limitsAtInit,limIntegrator2.outMax,limIntegrator2.outMin,limIntegrator2.strict,limIntegrator2.y,limIntegrator2.y_start,limiter1.homotopyType,limiter1.strict,limiter1.uMax,limiter1.uMin,limiter2.homotopyType,limiter2.strict,limiter2.uMax,limiter2.uMin,sine1.amplitude,sine1.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine2.amplitude,sine2.continuous,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2a.amplitude,sine2a.continuous,sine2a.f,sine2a.offset,sine2a.phase,sine2a.startTime,sine2ab.amplitude,sine2ab.continuous,sine2ab.f,sine2ab.offset,sine2ab.phase,sine2ab.startTime,sine3.amplitude,sine3.continuous,sine3.f,sine3.offset,sine3.phase,sine3.startTime,slewRateLimiter1.Falling,slewRateLimiter1.Rising,slewRateLimiter1.Td,slewRateLimiter1.initType,slewRateLimiter1.strict,slewRateLimiter1.y,slewRateLimiter1.y_start,slewRateLimiter2.Falling,slewRateLimiter2.Rising,slewRateLimiter2.Td,slewRateLimiter2.initType,slewRateLimiter2.strict,slewRateLimiter2.y,slewRateLimiter2.y_start,time,variableLimiter1.homotopyType,variableLimiter1.strict,variableLimiter1.ySimplified,variableLimiter2.homotopyType,variableLimiter2.strict,variableLimiter2.ySimplified