Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2233/0.2233, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5093,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.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,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.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 79.86 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.29, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004972/0.2949, allocations: 3.56 MB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2975, allocations: 1.491 MB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.2978, allocations: 27.72 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.298, allocations: 118.7 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.2985, allocations: 158.6 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2997, allocations: 0.6502 MB / 0.5671 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.3008, allocations: 0.9367 MB / 0.568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.3012, allocations: 224.3 kB / 0.5682 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.3017, allocations: 374.5 kB / 0.5686 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.3021, allocations: 366 kB / 0.5689 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3022, allocations: 72 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3024, allocations: 76 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3025, allocations: 179.2 kB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.3028, allocations: 361.8 kB / 0.5696 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009012/0.3037, allocations: 0.8438 MB / 0.5704 GB, free: 11.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3038, allocations: 8 kB / 0.5704 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3038, allocations: 0 / 0.5704 GB, free: 11.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3038, allocations: 0 / 0.5704 GB, free: 11.58 MB / 414.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.002304/0.3061, allocations: 1.23 MB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3061, allocations: 8.031 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.3066, allocations: 144.2 kB / 0.5717 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.3076, allocations: 0.6213 MB / 0.5723 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.3076, allocations: 37.38 kB / 0.5724 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.3077, allocations: 56.33 kB / 0.5724 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.3093, allocations: 0.7131 MB / 0.5731 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3093, allocations: 3.938 kB / 0.5731 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.06e-05/0.3094, allocations: 24 kB / 0.5732 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.3094, allocations: 16 kB / 0.5732 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.3109, allocations: 0.5542 MB / 0.5737 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.3143, allocations: 2.287 MB / 0.5759 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.3162, allocations: 0.692 MB / 0.5766 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.3171, allocations: 310.2 kB / 0.5769 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.3171, allocations: 16.36 kB / 0.5769 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3172, allocations: 42.94 kB / 0.577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.895e-06/0.3172, allocations: 0 / 0.577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004992/0.3222, allocations: 1.943 MB / 0.5789 GB, free: 2.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.3223, allocations: 239.7 kB / 0.5791 GB, free: 2.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007086/0.323, allocations: 0.5825 MB / 0.5797 GB, free: 1.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.3231, allocations: 41.7 kB / 0.5797 GB, free: 1.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.3234, allocations: 361.2 kB / 0.5801 GB, free: 1.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.3235, allocations: 182.4 kB / 0.5802 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3237, allocations: 106.2 kB / 0.5803 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3239, allocations: 326 kB / 0.5806 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008902/0.3248, allocations: 302.9 kB / 0.5809 GB, free: 364 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3258, allocations: 431.6 kB / 0.5813 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.3276, allocations: 0.6473 MB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3276, allocations: 4 kB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002073/0.3296, allocations: 0.7989 MB / 0.5828 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3297, allocations: 14.12 kB / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3297, allocations: 0 / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3297, allocations: 4 kB / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.3306, allocations: 200 kB / 0.583 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3306, allocations: 7.938 kB / 0.583 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.3312, allocations: 83.86 kB / 0.5831 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.3312, allocations: 19.98 kB / 0.5831 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007777/0.332, allocations: 365.1 kB / 0.5834 GB, free: 13.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007597/0.3327, allocations: 361.3 kB / 0.5838 GB, free: 13.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/0.334, allocations: 0.5436 MB / 0.5843 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.334, allocations: 4 kB / 0.5843 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001517/0.3355, allocations: 0.6594 MB / 0.5849 GB, free: 12.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3355, allocations: 8 kB / 0.5849 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3355, allocations: 4 kB / 0.585 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.3355, allocations: 4 kB / 0.585 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.3363, allocations: 164 kB / 0.5851 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3363, allocations: 11.92 kB / 0.5851 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.3368, allocations: 59.95 kB / 0.5852 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.3368, allocations: 23.98 kB / 0.5852 GB, free: 11.79 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.337, allocations: 216.1 kB / 0.5854 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.3371, allocations: 79.48 kB / 0.5855 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.3373, allocations: 83.44 kB / 0.5856 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.3373, allocations: 15.86 kB / 0.5856 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3373, allocations: 128 / 0.5856 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.3376, allocations: 192.8 kB / 0.5858 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.3377, allocations: 12 kB / 0.5858 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.3383, allocations: 75.91 kB / 0.5858 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3384, allocations: 48.36 kB / 0.5859 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003089/0.3415, allocations: 1.053 MB / 0.5869 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002986/0.3445, allocations: 1.344 MB / 0.5882 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008802/0.3454, allocations: 323.2 kB / 0.5885 GB, free: 8.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004886/0.3458, allocations: 403.1 kB / 0.5889 GB, free: 7.922 MB / 430.1 MB Notification: Performance of Backend: time 5.21e-07/0.3458, allocations: 0 / 0.5889 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.3481, allocations: 0.7572 MB / 0.5897 GB, free: 7.16 MB / 430.1 MB Notification: Performance of SimCode: time 0.002523/0.3506, allocations: 1.728 MB / 0.5914 GB, free: 5.391 MB / 430.1 MB Notification: Performance of Templates: time 0.02139/0.372, allocations: 12.32 MB / 0.6034 GB, free: 9.133 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.145305010024458]