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.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.001585/0.001585, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.001963/0.001963, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 158.6 MB / 186 MB, free: 2.484 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1931/0.1931, allocations: 32.36 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.467e-05, allocations: 5.406 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004507/0.004542, allocations: 3.336 MB / 351 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.007364, allocations: 1.438 MB / 352.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.008102, allocations: 35.69 kB / 352.5 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.00844, allocations: 122.6 kB / 352.6 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006806/0.00912, allocations: 170.4 kB / 352.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.01057, allocations: 0.6044 MB / 353.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.01227, allocations: 0.9676 MB / 354.3 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.0128, allocations: 201 kB / 354.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.01418, allocations: 0.5144 MB / 355 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.01478, allocations: 271 kB / 355.3 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.01496, allocations: 72 kB / 355.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.01505, allocations: 76 kB / 355.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.01516, allocations: 175.3 kB / 355.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.01541, allocations: 227.2 kB / 355.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.01642, allocations: 0.5835 MB / 356.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.01643, allocations: 0 / 356.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.01644, allocations: 0 / 356.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.003055/0.01949, allocations: 0 / 356.4 MB, free: 0.9609 MB / 282.7 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.002082/0.02157, allocations: 1.19 MB / 357.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.02163, allocations: 12.03 kB / 357.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.02189, allocations: 136.3 kB / 357.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.02285, allocations: 0.5773 MB / 358.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.02291, allocations: 37.38 kB / 358.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.02302, allocations: 64.34 kB / 358.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.02427, allocations: 0.7297 MB / 359.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.0243, allocations: 4.188 kB / 359.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.02436, allocations: 22.06 kB / 359.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.02438, allocations: 12 kB / 359.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.02494, allocations: 209.7 kB / 359.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.02797, allocations: 2.392 MB / 361.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008406/0.02881, allocations: 343.6 kB / 362.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.0291, allocations: 127.8 kB / 362.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.02915, allocations: 12.38 kB / 362.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.0292, allocations: 49.64 kB / 362.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.0292, allocations: 0 / 362.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.0023/0.0315, allocations: 1.039 MB / 363.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.03161, allocations: 192.4 kB / 363.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.03228, allocations: 0.5893 MB / 364.1 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.03233, allocations: 41.7 kB / 364.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.03266, allocations: 412 kB / 364.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.03281, allocations: 186.4 kB / 364.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.03301, allocations: 115.9 kB / 364.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.0332, allocations: 0.4887 MB / 365.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.03348, allocations: 102.2 kB / 365.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.0339, allocations: 357.4 kB / 365.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.03448, allocations: 318.8 kB / 366.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.03449, allocations: 4 kB / 366.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000876/0.03536, allocations: 453 kB / 366.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.03539, allocations: 4 kB / 366.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.0354, allocations: 4 kB / 366.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.03543, allocations: 4 kB / 366.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.03621, allocations: 171.8 kB / 366.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.03623, allocations: 4 kB / 366.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.03657, allocations: 60.03 kB / 366.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.03661, allocations: 16 kB / 366.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003544/0.03697, allocations: 220.1 kB / 367 MB, free: 5.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004271/0.03739, allocations: 356.7 kB / 367.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005338/0.03793, allocations: 319.8 kB / 367.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.03793, allocations: 0 / 367.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0007995/0.03873, allocations: 428.9 kB / 368.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.03875, allocations: 7.938 kB / 368.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.03875, allocations: 4 kB / 368.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.03876, allocations: 4 kB / 368.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.03939, allocations: 151.8 kB / 368.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.0394, allocations: 11.98 kB / 368.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.03969, allocations: 48.2 kB / 368.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.03973, allocations: 20 kB / 368.4 MB, free: 4.312 MB / 298.7 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.0002329/0.03997, allocations: 303.9 kB / 368.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.04013, allocations: 99.47 kB / 368.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.04029, allocations: 79.42 kB / 368.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.0403, allocations: 8 kB / 368.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.04031, allocations: 0 / 368.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.04032, allocations: 0 / 368.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.04215, allocations: 0.981 MB / 369.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.04215, allocations: 0 / 369.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.04266, allocations: 123.8 kB / 369.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.04267, allocations: 4 kB / 370 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.04272, allocations: 15.98 kB / 370 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.04273, allocations: 12 kB / 370 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.04273, allocations: 0 / 370 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.044, allocations: 0.7534 MB / 370.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.04422, allocations: 115.5 kB / 370.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/0.04431, allocations: 8 kB / 370.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.04469, allocations: 56.08 kB / 370.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.04484, allocations: 63.78 kB / 371 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.04487, allocations: 11.98 kB / 371 MB, free: 1.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.04527, allocations: 391 kB / 371.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04527, allocations: 0 / 371.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005772/0.04585, allocations: 184 kB / 371.5 MB, free: 1.043 MB / 298.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.04601, allocations: 111.2 kB / 371.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007677/0.04678, allocations: 487 kB / 372.1 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.04678, allocations: 0 / 372.1 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.04701, allocations: 164.4 kB / 372.3 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.04776, allocations: 224.4 kB / 372.5 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.0501, allocations: 1.281 MB / 373.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.05022, allocations: 142.6 kB / 373.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002806/0.0505, allocations: 101.1 kB / 374 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.05065, allocations: 56.48 kB / 374.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.884e-06/0.05065, allocations: 0 / 374.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Templates: time 0.01429/0.06494, allocations: 9.487 MB / 383.6 MB, free: 5.016 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7656181510537863]