Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001727/0.001727, allocations: 104.9 kB / 18.33 MB, free: 4.086 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.002068/0.002068, allocations: 189.9 kB / 21.5 MB, free: 0.918 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.454/1.454, allocations: 207.6 MB / 232.1 MB, free: 11.1 MB / 190.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.07079/0.07079, allocations: 14.4 MB / 298.6 MB, free: 7.957 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_symb_jac_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_symb_jac_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.002169/0.002169, allocations: 72.45 kB / 419.4 MB, free: 39.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.08868, allocations: 52.87 MB / 472.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002037/0.09071, allocations: 0.6791 MB / 473 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002515/0.09097, allocations: 63.78 kB / 473 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.091, allocations: 0 / 473 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.09103, allocations: 7.875 kB / 473 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.09111, allocations: 0 / 473 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.09128, allocations: 23.92 kB / 473.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.09138, allocations: 23.98 kB / 473.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.09147, allocations: 3.984 kB / 473.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.0915, allocations: 8 kB / 473.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.12e-05/0.09156, allocations: 15.92 kB / 473.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.09158, allocations: 8 kB / 473.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.09159, allocations: 4 kB / 473.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.09161, allocations: 11.97 kB / 473.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.09163, allocations: 11.88 kB / 473.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.634e-05/0.09172, allocations: 23.84 kB / 473.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09172, allocations: 0 / 473.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09173, allocations: 4 kB / 473.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.09173, allocations: 0 / 473.2 MB, free: 1.512 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.0004892/0.09222, allocations: 331.5 kB / 473.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.09226, allocations: 15.98 kB / 473.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.09229, allocations: 0.9375 kB / 473.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.09246, allocations: 168.4 kB / 473.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.09247, allocations: 384 / 473.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.09248, allocations: 8.375 kB / 473.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.09271, allocations: 80.67 kB / 473.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.09272, allocations: 192 / 473.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.09274, allocations: 7.938 kB / 473.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.09274, allocations: 0 / 473.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.09292, allocations: 31.97 kB / 473.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.09334, allocations: 265.8 kB / 474.1 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.09353, allocations: 81.12 kB / 474.2 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.09364, allocations: 31.97 kB / 474.2 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.09366, allocations: 4 kB / 474.2 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.09369, allocations: 38.5 kB / 474.2 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.0937, allocations: 0 / 474.2 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003694/0.09406, allocations: 93.59 kB / 474.3 MB, free: 188 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.09415, allocations: 106.8 kB / 474.4 MB, free: 56 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.09424, allocations: 102.1 kB / 474.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.09427, allocations: 29.7 kB / 474.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.09432, allocations: 84.14 kB / 474.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.09434, allocations: 15.81 kB / 474.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.09438, allocations: 17.72 kB / 474.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.09452, allocations: 314.8 kB / 475 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.09462, allocations: 24.84 kB / 475 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.09472, allocations: 38.75 kB / 475 MB, free: 15.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.09487, allocations: 41.69 kB / 475.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.09488, allocations: 0 / 475.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000211/0.09509, allocations: 81.56 kB / 475.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.0951, allocations: 8 kB / 475.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.09511, allocations: 96 / 475.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.09512, allocations: 3.984 kB / 475.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.09522, allocations: 11.98 kB / 475.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.09522, allocations: 3.984 kB / 475.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.09529, allocations: 15.94 kB / 475.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.09529, allocations: 7.938 kB / 475.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.692e-05/0.09537, allocations: 88.2 kB / 475.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.185e-05/0.09542, allocations: 26.56 kB / 475.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.949e-05/0.0955, allocations: 29.7 kB / 475.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.01e-07/0.0955, allocations: 0 / 475.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001303/0.09563, allocations: 61.59 kB / 475.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.09565, allocations: 8 kB / 475.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.09565, allocations: 0 / 475.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-06/0.09565, allocations: 0 / 475.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.09569, allocations: 4 kB / 475.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-06/0.09569, allocations: 0 / 475.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.09573, allocations: 7.984 kB / 475.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.09574, allocations: 7.938 kB / 475.4 MB, free: 14.96 MB / 350.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 9.951e-05/0.09584, allocations: 184.3 kB / 475.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.09586, allocations: 4 kB / 475.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.09588, allocations: 11.08 kB / 475.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.09589, allocations: 0 / 475.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.09589, allocations: 0 / 475.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.09589, allocations: 0 / 475.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.09609, allocations: 169.5 kB / 475.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09609, allocations: 0 / 475.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.09616, allocations: 15.92 kB / 475.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.09616, allocations: 0 / 475.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.09616, allocations: 4 kB / 475.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.09617, allocations: 4 kB / 475.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.09617, allocations: 4 kB / 475.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.09694, allocations: 0.9696 MB / 476.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.09698, allocations: 77.11 kB / 476.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.097, allocations: 0 / 476.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.09709, allocations: 15.92 kB / 476.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.09713, allocations: 0 / 476.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.09714, allocations: 4 kB / 476.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.09719, allocations: 87.27 kB / 477 MB, free: 13.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09719, allocations: 0 / 477 MB, free: 13.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.09769, allocations: 8 kB / 477 MB, free: 13.27 MB / 350.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.0001145/0.0978, allocations: 95.19 kB / 477.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.09807, allocations: 55.89 kB / 477.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09808, allocations: 4.25 kB / 477.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.09817, allocations: 27.92 kB / 477.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.09838, allocations: 5.562 kB / 477.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.09887, allocations: 232.4 kB / 477.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.0993, allocations: 0.6808 MB / 478.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.09935, allocations: 0 / 478.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.09938, allocations: 11.44 kB / 478.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09938, allocations: 0 / 478.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003195/0.1026, allocations: 0.6483 MB / 478.7 MB, free: 11.44 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.67968669347465]