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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001317/0.001317, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.335/1.335, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.9 MB / 361.3 MB, free: 4.434 MB / 286.1 MB " [Timeout remaining time 180] 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=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_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 75.88 kB / 0.497 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2605, allocations: 66.03 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004695/0.2652, allocations: 3.568 MB / 0.565 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.2676, allocations: 1.499 MB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.2679, allocations: 35.69 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.2681, allocations: 118.7 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.2686, allocations: 162.6 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2697, allocations: 0.6399 MB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009816/0.2707, allocations: 0.9484 MB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.271, allocations: 216.7 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.2715, allocations: 386.5 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.2719, allocations: 362.1 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.272, allocations: 72 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2721, allocations: 83.98 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.2723, allocations: 183.2 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.2726, allocations: 365.8 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008485/0.2734, allocations: 0.8551 MB / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2734, allocations: 4 kB / 0.5708 GB, free: 11.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2734, allocations: 0 / 0.5708 GB, free: 11.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.2735, allocations: 0 / 0.5708 GB, free: 11.11 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.002205/0.2757, allocations: 1.147 MB / 0.5719 GB, free: 9.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2757, allocations: 12.02 kB / 0.5719 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.2762, allocations: 140.3 kB / 0.572 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.2771, allocations: 0.5401 MB / 0.5726 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.2772, allocations: 37.38 kB / 0.5726 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/0.2773, allocations: 60.27 kB / 0.5727 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2788, allocations: 0.717 MB / 0.5734 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.2788, allocations: 11.94 kB / 0.5734 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.2788, allocations: 20 kB / 0.5734 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2788, allocations: 12 kB / 0.5734 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.2804, allocations: 0.5542 MB / 0.5739 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.2836, allocations: 2.243 MB / 0.5761 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.2855, allocations: 0.6189 MB / 0.5767 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.2863, allocations: 318.2 kB / 0.577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.2864, allocations: 8.359 kB / 0.577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.2864, allocations: 38.94 kB / 0.5771 GB, free: 4.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/0.2864, allocations: 0 / 0.5771 GB, free: 4.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004744/0.2911, allocations: 1.877 MB / 0.5789 GB, free: 2.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.2913, allocations: 235.8 kB / 0.5791 GB, free: 2.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.292, allocations: 0.5865 MB / 0.5797 GB, free: 1.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.292, allocations: 37.7 kB / 0.5797 GB, free: 1.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.2923, allocations: 353.2 kB / 0.5801 GB, free: 1.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.2924, allocations: 190.5 kB / 0.5803 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.2926, allocations: 106.3 kB / 0.5804 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2928, allocations: 326 kB / 0.5807 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/0.2936, allocations: 307.2 kB / 0.581 GB, free: 320 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009884/0.2946, allocations: 432.5 kB / 0.5814 GB, free: 15.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.2964, allocations: 0.6503 MB / 0.582 GB, free: 15.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2964, allocations: 0 / 0.582 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002038/0.2984, allocations: 0.8013 MB / 0.5828 GB, free: 14.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2984, allocations: 5.875 kB / 0.5828 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2984, allocations: 4 kB / 0.5828 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2985, allocations: 7.938 kB / 0.5828 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.2995, allocations: 196 kB / 0.583 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2995, allocations: 4 kB / 0.583 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.3001, allocations: 87.91 kB / 0.5831 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.3002, allocations: 23.98 kB / 0.5831 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007933/0.301, allocations: 365.2 kB / 0.5835 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007413/0.3017, allocations: 370.3 kB / 0.5838 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.3029, allocations: 0.5436 MB / 0.5843 GB, free: 12.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.3029, allocations: 0 / 0.5843 GB, free: 12.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001483/0.3044, allocations: 0.6633 MB / 0.585 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.3044, allocations: 4 kB / 0.585 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3045, allocations: 4 kB / 0.585 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.3045, allocations: 4.281 kB / 0.585 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/0.3053, allocations: 171.9 kB / 0.5852 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.3053, allocations: 16.05 kB / 0.5852 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.3058, allocations: 59.95 kB / 0.5852 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3058, allocations: 19.98 kB / 0.5853 GB, free: 11.73 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.0001908/0.306, allocations: 221.2 kB / 0.5855 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.3061, allocations: 79.48 kB / 0.5855 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.3063, allocations: 87.42 kB / 0.5856 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3063, allocations: 7.938 kB / 0.5856 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3063, allocations: 0 / 0.5856 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3063, allocations: 4 kB / 0.5856 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.3093, allocations: 1.436 MB / 0.587 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3093, allocations: 0 / 0.587 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007578/0.3101, allocations: 151.8 kB / 0.5872 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3101, allocations: 0 / 0.5872 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.3101, allocations: 19.98 kB / 0.5872 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3101, allocations: 0 / 0.5872 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3101, allocations: 8.031 kB / 0.5872 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.313, allocations: 1.253 MB / 0.5884 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.3133, allocations: 119.5 kB / 0.5886 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/0.3133, allocations: 8 kB / 0.5886 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.3139, allocations: 83.91 kB / 0.5886 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3141, allocations: 47.8 kB / 0.5887 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3141, allocations: 19.98 kB / 0.5887 GB, free: 8.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004889/0.3146, allocations: 407.1 kB / 0.5891 GB, free: 7.711 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3146, allocations: 0 / 0.5891 GB, free: 7.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006629/0.3153, allocations: 180 kB / 0.5893 GB, free: 7.535 MB / 430.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 (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.0001377/0.3154, allocations: 111.2 kB / 0.5894 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.318, allocations: 0.9492 MB / 0.5903 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.318, allocations: 0.5 kB / 0.5903 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.319, allocations: 348.1 kB / 0.5906 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.32, allocations: 209.6 kB / 0.5908 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3226, allocations: 1.355 MB / 0.5922 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.3231, allocations: 0.918 MB / 0.593 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004211/0.3236, allocations: 100.8 kB / 0.5931 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.3238, allocations: 63.39 kB / 0.5932 GB, free: 3.434 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3238, allocations: 4 kB / 0.5932 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Templates: time 0.01686/0.3407, allocations: 9.213 MB / 0.6022 GB, free: 10.27 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7631829949095845]