Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 110.4 kB / 21.19 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 205.7 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 46.97 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004941/0.2994, allocations: 3.209 MB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.3024, allocations: 1.444 MB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.3027, allocations: 35.69 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.303, allocations: 114.7 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.3035, allocations: 162.6 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3048, allocations: 0.6499 MB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.3059, allocations: 0.9406 MB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.3063, allocations: 224.7 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.3068, allocations: 378.5 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.3072, allocations: 362.1 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.3074, allocations: 72 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3075, allocations: 80 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3077, allocations: 183.2 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.3079, allocations: 294.2 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.3089, allocations: 0.8591 MB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3089, allocations: 0 / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3089, allocations: 0 / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.3089, allocations: 0 / 0.5706 GB, free: 11.18 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.002252/0.3111, allocations: 1.154 MB / 0.5717 GB, free: 9.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3112, allocations: 8.031 kB / 0.5717 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.3117, allocations: 140.3 kB / 0.5718 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/0.3127, allocations: 0.5479 MB / 0.5724 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.3127, allocations: 37.38 kB / 0.5724 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/0.3128, allocations: 56.33 kB / 0.5725 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3144, allocations: 0.9216 MB / 0.5734 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.3145, allocations: 0 / 0.5734 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.3145, allocations: 28 kB / 0.5734 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3145, allocations: 12 kB / 0.5734 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3161, allocations: 0.5542 MB / 0.5739 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.3193, allocations: 2.025 MB / 0.5759 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.3212, allocations: 0.6116 MB / 0.5765 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/0.322, allocations: 314.2 kB / 0.5768 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.3221, allocations: 8.359 kB / 0.5768 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.3221, allocations: 42.94 kB / 0.5769 GB, free: 4.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.325e-06/0.3221, allocations: 0 / 0.5769 GB, free: 4.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004927/0.327, allocations: 1.874 MB / 0.5787 GB, free: 2.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.3272, allocations: 235.8 kB / 0.5789 GB, free: 2.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.3279, allocations: 0.5707 MB / 0.5795 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.3279, allocations: 33.7 kB / 0.5795 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.3283, allocations: 377.2 kB / 0.5799 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3285, allocations: 182.4 kB / 0.58 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3286, allocations: 114.3 kB / 0.5802 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3288, allocations: 326 kB / 0.5805 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008446/0.3296, allocations: 307.2 kB / 0.5808 GB, free: 364 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3307, allocations: 0.573 MB / 0.5813 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.3324, allocations: 0.6503 MB / 0.582 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3324, allocations: 0 / 0.582 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002059/0.3344, allocations: 0.7976 MB / 0.5827 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3345, allocations: 12.03 kB / 0.5827 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3345, allocations: 4 kB / 0.5828 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3345, allocations: 4 kB / 0.5828 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.3355, allocations: 195.7 kB / 0.5829 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.3356, allocations: 11.94 kB / 0.583 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.3362, allocations: 87.86 kB / 0.583 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.3362, allocations: 16 kB / 0.5831 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008125/0.337, allocations: 365.3 kB / 0.5834 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007998/0.3378, allocations: 0.5122 MB / 0.5839 GB, free: 12.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/0.339, allocations: 0.5437 MB / 0.5844 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/0.3391, allocations: 4 kB / 0.5844 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001539/0.3406, allocations: 0.6594 MB / 0.5851 GB, free: 11.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3406, allocations: 8 kB / 0.5851 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3406, allocations: 7.938 kB / 0.5851 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.3406, allocations: 4 kB / 0.5851 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.3414, allocations: 168 kB / 0.5853 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3415, allocations: 7.984 kB / 0.5853 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.342, allocations: 59.89 kB / 0.5853 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.342, allocations: 23.98 kB / 0.5853 GB, free: 11.4 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.0002871/0.3423, allocations: 220.1 kB / 0.5856 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.3425, allocations: 79.48 kB / 0.5856 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.3427, allocations: 83.27 kB / 0.5857 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3427, allocations: 4 kB / 0.5857 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3427, allocations: 0 / 0.5857 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.343, allocations: 115.4 kB / 0.5858 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.3431, allocations: 12 kB / 0.5858 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.3436, allocations: 79.91 kB / 0.5859 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3438, allocations: 44.34 kB / 0.586 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002972/0.3467, allocations: 1.034 MB / 0.587 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002993/0.3497, allocations: 1.356 MB / 0.5883 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008716/0.3506, allocations: 323.2 kB / 0.5886 GB, free: 8.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005209/0.3511, allocations: 399.1 kB / 0.589 GB, free: 7.645 MB / 430.1 MB Notification: Performance of Backend: time 4.91e-07/0.3511, allocations: 0 / 0.589 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.3535, allocations: 0.7643 MB / 0.5897 GB, free: 6.879 MB / 430.1 MB Notification: Performance of SimCode: time 0.002689/0.3561, allocations: 1.743 MB / 0.5914 GB, free: 5.098 MB / 430.1 MB Notification: Performance of Templates: time 0.02354/0.3797, allocations: 14.28 MB / 0.6054 GB, free: 7.016 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.365104547003284]