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.001673/0.001673, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001938/0.001938, allocations: 217 kB / 24.5 MB, free: 4.133 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.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 46.92 MB / 361.5 MB, free: 4.184 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.002255/0.002255, allocations: 79.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3703, allocations: 66.08 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005288/0.3756, allocations: 3.572 MB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.3787, allocations: 1.491 MB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.3791, allocations: 35.69 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.3795, allocations: 118.7 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.38, allocations: 162.6 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3813, allocations: 0.6443 MB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3824, allocations: 0.9483 MB / 0.5688 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.3828, allocations: 216.7 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.3834, allocations: 386.5 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.3838, allocations: 362.1 kB / 0.5697 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3839, allocations: 79.88 kB / 0.5698 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3841, allocations: 83.98 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3842, allocations: 179.3 kB / 0.57 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.3846, allocations: 369.7 kB / 0.5704 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009588/0.3855, allocations: 0.8513 MB / 0.5712 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3855, allocations: 0 / 0.5712 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3855, allocations: 0 / 0.5712 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3855, allocations: 0 / 0.5712 GB, free: 10.75 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.002213/0.3877, allocations: 1.15 MB / 0.5723 GB, free: 9.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3878, allocations: 8.031 kB / 0.5723 GB, free: 9.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.3883, allocations: 144.3 kB / 0.5725 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009815/0.3893, allocations: 0.5362 MB / 0.573 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.3893, allocations: 37.38 kB / 0.573 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/0.3894, allocations: 56.33 kB / 0.5731 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3908, allocations: 0.7247 MB / 0.5738 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.3909, allocations: 4 kB / 0.5738 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.3909, allocations: 20 kB / 0.5738 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3909, allocations: 12 kB / 0.5738 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.3923, allocations: 0.5581 MB / 0.5744 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.3956, allocations: 2.235 MB / 0.5765 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.3973, allocations: 0.6267 MB / 0.5772 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.3981, allocations: 318.2 kB / 0.5775 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.3982, allocations: 8.359 kB / 0.5775 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3982, allocations: 38.94 kB / 0.5775 GB, free: 4.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.3982, allocations: 0 / 0.5775 GB, free: 4.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004729/0.4029, allocations: 1.877 MB / 0.5793 GB, free: 2.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.4031, allocations: 239.8 kB / 0.5796 GB, free: 1.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.4038, allocations: 0.5864 MB / 0.5801 GB, free: 1.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.4039, allocations: 37.7 kB / 0.5802 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.4042, allocations: 357.2 kB / 0.5805 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.4043, allocations: 186.5 kB / 0.5807 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.4045, allocations: 106.3 kB / 0.5808 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4047, allocations: 329.9 kB / 0.5811 GB, free: 256 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.4055, allocations: 307.3 kB / 0.5814 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.4064, allocations: 432.5 kB / 0.5818 GB, free: 15.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.408, allocations: 0.6463 MB / 0.5824 GB, free: 14.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.408, allocations: 4 kB / 0.5824 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001942/0.4099, allocations: 0.7974 MB / 0.5832 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.41, allocations: 4.25 kB / 0.5832 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.41, allocations: 8 kB / 0.5832 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.41, allocations: 7.938 kB / 0.5832 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.411, allocations: 191.7 kB / 0.5834 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.411, allocations: 4 kB / 0.5834 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.4115, allocations: 83.91 kB / 0.5835 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.4116, allocations: 23.98 kB / 0.5835 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007585/0.4124, allocations: 366.6 kB / 0.5839 GB, free: 13.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007079/0.4131, allocations: 380.4 kB / 0.5842 GB, free: 12.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001165/0.4142, allocations: 0.5359 MB / 0.5848 GB, free: 12.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.4142, allocations: 0 / 0.5848 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001417/0.4156, allocations: 0.6594 MB / 0.5854 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4157, allocations: 7.984 kB / 0.5854 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4157, allocations: 4 kB / 0.5854 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.4157, allocations: 8.188 kB / 0.5854 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.4164, allocations: 171.8 kB / 0.5856 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.4165, allocations: 11.94 kB / 0.5856 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.4169, allocations: 63.94 kB / 0.5857 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.417, allocations: 20 kB / 0.5857 GB, free: 11.36 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.0002185/0.4172, allocations: 208.1 kB / 0.5859 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4173, allocations: 79.48 kB / 0.586 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.4175, allocations: 83.42 kB / 0.586 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4175, allocations: 8.219 kB / 0.586 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4175, allocations: 4 kB / 0.5861 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4175, allocations: 3.984 kB / 0.5861 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.4204, allocations: 1.44 MB / 0.5875 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4204, allocations: 0 / 0.5875 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/0.4211, allocations: 151.8 kB / 0.5876 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4211, allocations: 8.062 kB / 0.5876 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.4211, allocations: 20.11 kB / 0.5876 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4211, allocations: 0 / 0.5876 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4211, allocations: 4 kB / 0.5876 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.4238, allocations: 1.261 MB / 0.5889 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.424, allocations: 115.5 kB / 0.589 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.4241, allocations: 12 kB / 0.589 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.4247, allocations: 79.91 kB / 0.5891 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4248, allocations: 55.78 kB / 0.5891 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4248, allocations: 16 kB / 0.5891 GB, free: 7.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004841/0.4253, allocations: 407 kB / 0.5895 GB, free: 7.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4253, allocations: 0 / 0.5895 GB, free: 7.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006575/0.426, allocations: 180 kB / 0.5897 GB, free: 7.168 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.0001585/0.4261, allocations: 115.2 kB / 0.5898 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.4285, allocations: 0.9497 MB / 0.5907 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4285, allocations: 3.938 kB / 0.5907 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.4293, allocations: 340.2 kB / 0.5911 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.4303, allocations: 194.2 kB / 0.5912 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4329, allocations: 1.399 MB / 0.5926 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.4335, allocations: 0.9258 MB / 0.5935 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4337, allocations: 59.41 kB / 0.5936 GB, free: 3.125 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4337, allocations: 0 / 0.5936 GB, free: 3.125 MB / 430.1 MB Notification: Performance of Templates: time 0.01364/0.4473, allocations: 9.037 MB / 0.6024 GB, free: 10.11 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/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_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: 8.647534850984812]