Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002863/0.002863, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 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.628/1.628, allocations: 207.6 MB / 231.4 MB, free: 3.156 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07363/0.07363, allocations: 14.41 MB / 297.9 MB, free: 0.7852 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 76.45 kB / 418.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2973, allocations: 52.86 MB / 471.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002209/0.2995, allocations: 0.6954 MB / 472.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.2998, allocations: 64.02 kB / 472.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2999, allocations: 1 kB / 472.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.2999, allocations: 3.938 kB / 472.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3, allocations: 5.047 kB / 472.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.3002, allocations: 27.22 kB / 472.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3003, allocations: 22.92 kB / 472.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3005, allocations: 2.25 kB / 472.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/0.3005, allocations: 16.42 kB / 472.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.3006, allocations: 15.3 kB / 472.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.3006, allocations: 2.312 kB / 472.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.3006, allocations: 3.375 kB / 472.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3007, allocations: 0 / 472.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.3007, allocations: 14.14 kB / 472.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3008, allocations: 27.7 kB / 472.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3008, allocations: 1.094 kB / 472.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3008, allocations: 4 kB / 472.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3008, allocations: 0 / 472.5 MB, free: 11.55 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005942/0.3014, allocations: 335 kB / 472.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.732e-05/0.3015, allocations: 12.95 kB / 472.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3015, allocations: 3.219 kB / 472.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3018, allocations: 166.6 kB / 473 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3018, allocations: 1.469 kB / 473 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3018, allocations: 1.625 kB / 473 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.302, allocations: 80.09 kB / 473.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.302, allocations: 1.156 kB / 473.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3021, allocations: 3.938 kB / 473.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3021, allocations: 1.188 kB / 473.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3022, allocations: 40.89 kB / 473.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.3028, allocations: 270.5 kB / 473.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.303, allocations: 65.75 kB / 473.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.3031, allocations: 37.45 kB / 473.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3032, allocations: 5.547 kB / 473.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.3032, allocations: 39.67 kB / 473.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3032, allocations: 0 / 473.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000476/0.3037, allocations: 99.38 kB / 473.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.3038, allocations: 103.9 kB / 473.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.3039, allocations: 98.08 kB / 473.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3039, allocations: 26.77 kB / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.304, allocations: 92.77 kB / 473.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.304, allocations: 5.016 kB / 473.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.304, allocations: 16.86 kB / 473.9 MB, free: 10 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3042, allocations: 320 kB / 474.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3043, allocations: 24.53 kB / 474.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3044, allocations: 33.86 kB / 474.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3046, allocations: 56.5 kB / 474.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3046, allocations: 0 / 474.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000208/0.3048, allocations: 76.84 kB / 474.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3048, allocations: 5.375 kB / 474.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3048, allocations: 1.125 kB / 474.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3048, allocations: 0 / 474.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.3049, allocations: 11.78 kB / 474.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3049, allocations: 5.297 kB / 474.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.305, allocations: 9.141 kB / 474.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.305, allocations: 1.375 kB / 474.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.443e-05/0.3051, allocations: 93.22 kB / 474.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.939e-05/0.3051, allocations: 20.98 kB / 474.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001048/0.3053, allocations: 36.39 kB / 474.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.72e-07/0.3053, allocations: 0 / 474.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001384/0.3054, allocations: 53.97 kB / 474.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3054, allocations: 4.562 kB / 474.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.3054, allocations: 1.094 kB / 474.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/0.3054, allocations: 1.125 kB / 474.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.3055, allocations: 8.891 kB / 474.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3055, allocations: 9.031 kB / 474.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.3055, allocations: 3.406 kB / 474.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3055, allocations: 5.031 kB / 474.7 MB, free: 9.324 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001664/0.3057, allocations: 186.4 kB / 474.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3057, allocations: 1.219 kB / 474.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.3057, allocations: 12.08 kB / 474.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3058, allocations: 5.375 kB / 474.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3058, allocations: 1 kB / 474.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3058, allocations: 4 kB / 474.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.306, allocations: 168.4 kB / 475.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.306, allocations: 0 / 475.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.3061, allocations: 12.2 kB / 475.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3061, allocations: 0 / 475.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3061, allocations: 1.125 kB / 475.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3061, allocations: 1.219 kB / 475.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3061, allocations: 0 / 475.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.3064, allocations: 184.5 kB / 475.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.3065, allocations: 86.25 kB / 475.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.3065, allocations: 1.094 kB / 475.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.3066, allocations: 4.375 kB / 475.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3067, allocations: 10.27 kB / 475.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3067, allocations: 2.156 kB / 475.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.3067, allocations: 82.77 kB / 475.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 0 / 475.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.307, allocations: 10.72 kB / 475.5 MB, free: 8.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * 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.0001549/0.3072, allocations: 95.78 kB / 475.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3075, allocations: 52.19 kB / 475.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3075, allocations: 5.219 kB / 475.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.3076, allocations: 25.44 kB / 475.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3078, allocations: 10.44 kB / 475.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.3082, allocations: 123.3 kB / 475.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3086, allocations: 0.6823 MB / 476.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.3086, allocations: 5.406 kB / 476.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.3087, allocations: 9.875 kB / 476.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3087, allocations: 0 / 476.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of Templates: time 0.003478/0.3122, allocations: 0.6484 MB / 477.1 MB, free: 7.168 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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.783809492364526]